home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / win_utl2 / sentry47.zip / README.TXT < prev    next >
Text File  |  1996-04-17  |  111KB  |  2,657 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                                 S e n t r y
  16.                                 ===========
  17.                                     V4.7
  18.  
  19.                              Instruction Manual
  20.  
  21.                              Copyright (C) 1996
  22.  
  23.                              Michael A. Bobbitt
  24.                             NightShade Computing
  25.                           Mike.Bobbitt@AcadiaU.CA
  26.                http://dragon.acadiau.ca/~910318b/Sentry.html
  27.  
  28.  
  29.  
  30.  
  31.                                 S e n t r y
  32.                                 ===========
  33.                              Table of Contents
  34.  
  35.         1.0 Introduction
  36.             1.1  Purpose of Sentry
  37.                  1.1.1 In the Home
  38.                  1.1.2 In a Business Environment
  39.                  1.1.3 In an Educational Environment
  40.                  1.1.4 General
  41.             1.2  Features of Sentry
  42.                  1.2.1 General
  43.                  1.2.2 Expiry Dates
  44.                  1.2.3 Windows
  45.                  1.2.4 File Protection
  46.             1.3  Distribution of Sentry
  47.  
  48.         2.0 Setup
  49.             2.1  Installing Sentry
  50.             2.2  The Initial Login
  51.             2.3  First Priorities
  52.             2.4  Using the Initialization Settings
  53.             2.5  Uninstalling Sentry
  54.  
  55.         3.0 Securing Your Computer
  56.             3.1  BIOS Password
  57.             3.2  Boot Sequence
  58.             3.3  SWITCHES in CONFIG.SYS
  59.             3.4  BootKeys in MSDOS.SYS
  60.             3.5  BREAK in CONFIG.SYS
  61.             3.6  Passwords
  62.             3.7  Placement in AUTOEXEC.BAT
  63.             3.8  Keep a Backup
  64.  
  65.         4.0 Logging In
  66.             4.1  The Login Procedure
  67.             4.2  Changing Passwords
  68.  
  69.         5.0 The SuperUser Menu
  70.             5.1  The User Maintenance Menu
  71.                  5.1.1  Create User
  72.                  5.1.2  Delete User
  73.                  5.1.3  View Users
  74.                  5.1.4  Toggle SuperUser Status
  75.                  5.1.5  Change Account Exipry Date
  76.                  5.1.6  Change Password Expiry Date
  77.                  5.1.7  Change Account Password
  78.                  5.1.8  Assign Max Invalid Logins
  79.                  5.1.9  Return to SuperUser Menu
  80.             5.2  The Log File Maintenance Menu
  81.                  5.2.1  View Log File
  82.                  5.2.2  View Backup Log File
  83.                  5.2.3  Move Log File to Backup
  84.                  5.2.4  Return to SuperUser Menu
  85.             5.3  Edit Initialization Settings
  86.             5.4  Send a Message to a User
  87.             5.5  Protect a File
  88.             5.6  Export Initialization Settings
  89.             5.7  Sentry DOS Shell
  90.             5.8  Security Audit
  91.             5.9  Exit
  92.  
  93.         6.0 Using Sentry With Windows
  94.             6.1  General
  95.             6.2  Installation Procedure
  96.             6.3  Windows 95
  97.  
  98.         7.0 Securing Other Programs
  99.             7.1  General
  100.             7.2  Setup
  101.             7.3  Account Information
  102.             7.4  Using Templates
  103.             7.5  Running a Protected File
  104.  
  105.         8.0 Creating a new Instance of Sentry
  106.  
  107.         9.0 Registration
  108.             9.1 General
  109.             9.2 Benefits of Registration
  110.  
  111.         10.0 The Initialization Settings
  112.              10.1  Location of the Log File
  113.              10.2  Location of the Backup Log File
  114.              10.3  Location of the Message File
  115.              10.4  Minimum Password Length
  116.              10.5  Maximum Password Length
  117.              10.6  Maximum Invalid Tries
  118.              10.7  Wait Time After an Invalid Login
  119.              10.8  Max Log File Size
  120.              10.9  Key to Change Password
  121.              10.10 Password Echo Character
  122.              10.11 Days Until Passwords Expire
  123.              10.12 Days Until Accounts Expire
  124.              10.13 Screen Saver Activation Time
  125.              10.14 Screen Saver Message
  126.              10.15 Login Prompt
  127.              10.16 Password Prompt
  128.              10.17 Wrong Password Message
  129.              10.18 Wrong Login Message
  130.              10.19 Bad Password Length Message
  131.              10.20 Bad Login Length Message
  132.              10.21 Wrong Password Log Message
  133.              10.22 Wrong Login Log Message
  134.              10.23 Bad Password Length Log Message
  135.              10.24 Bad Login Length Log Message
  136.              10.25 Environment Variable
  137.              10.26 Enable Sentry with Windows
  138.              10.27 Show Title
  139.              10.28 Date Format
  140.              10.29 Case Sensitivity
  141.              10.30 Windowed Mode
  142.              10.31 Enable Colour
  143.              10.32 Text Colour
  144.              10.33 Text Background
  145.              10.34 Highlighted Text Colour
  146.              10.35 Highlighted Text Background
  147.              10.36 Maximum Invalid Logins
  148.              10.37 Type Ahead
  149.              10.38 Clear Screen
  150.  
  151.         11.0 Technical Notes
  152.              11.1  Encoding Algorithm
  153.              11.2  SuperUser Access
  154.              11.3  Files
  155.              11.4  File_id.diz
  156.              11.5  Time / Date
  157.              11.6  Environment Variables
  158.              11.7  Virus Scanners
  159.              11.8  File Deletion
  160.              11.9  General
  161.  
  162.         12.0 Potential Threats To Security
  163.              12.1  Account Information
  164.              12.2  Hardware Loopholes
  165.  
  166.         13.0 Troubleshooting
  167.              13.1  Error messages
  168.                    13.1.1  Cannot Locate Environment.
  169.                    13.1.2  Environment Overflow - Not Modified.
  170.                    13.1.3  Error Creating Backup Log File!
  171.                    13.1.4  Error Creating Log File!
  172.                    13.1.5  Error Creating Temp File!
  173.                    13.1.6  Error Opening Log File!
  174.                    13.1.7  Error Opening Message File!
  175.                    13.1.8  Error Opening Protected File!
  176.                    13.1.9  Error Opening Sentry.ins!
  177.                    13.1.10 Error Opening System Files!
  178.                    13.1.11 Error Opening Temp File!
  179.                    13.1.12 Error Reading Data Segment [Open]
  180.                    13.1.13 Please Run the INSTALL.EXE program.
  181.                    13.1.14 Error Scanning Temp File!
  182.                    13.1.15 Error in Account Information!
  183.                    13.1.16 Error in Initialization Settings!
  184.                    13.1.17 Internal Screen Error [Reading]
  185.                    13.1.18 Internal Screen Error [Writing]
  186.                    13.1.19 Out of memory!
  187.                    13.1.20 Registration Error - Program Aborted!
  188.                    13.1.21 This account has expired.
  189.                    13.1.22 Cannot Find LICENSE.TXT!
  190.              13.2  Other problems
  191.  
  192.         14.0 Standard Disclaimer
  193.  
  194.         15.0 Contact Information
  195.  
  196.         16.0 Credits
  197.  
  198.                            ========================
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.                                 S e n t r y
  206.                                 ===========
  207.                      Security for the Home and Business
  208.  
  209.  
  210.  
  211.  
  212.  
  213.         1.0 Introduction
  214.         ================
  215.  
  216.         Currently, almost all fields of computer security are growing
  217.         and advancing, with a few notable exceptions. Networks, servers
  218.         and public access systems are all tightening their access to
  219.         avoid potential problems. But what of the non-networked PC? Is
  220.         the information contained on these any less valuable? Often
  221.         times not, yet adequate security programs do not exist for PC's.
  222.         In my search for security, I discovered that PC's were virtually
  223.         ignored, and those programs that did exist were weak and faulty.
  224.         Faced with this situation, I decided to write my own security
  225.         program from scratch, incorporating the tightest security
  226.         measures possible, while allowing flexible, easy use.
  227.  
  228.  
  229.         1.1 Purpose of Sentry
  230.  
  231.         Sentry is meant for one basic purpose only: to keep unwanted
  232.         people out of "private" information. It is flexible enough that
  233.         this single purpose can be used in many different ways, for many
  234.         different reasons. Here are just a few.
  235.  
  236.         1.1.1 In the Home
  237.  
  238.         Most people have something on their home PC that they consider
  239.         to be "sensitive". Maybe it's a private letter, maybe it's
  240.         copies of e-mail, or maybe it's financial information. Or quite
  241.         possibly, you just want a way to keep track of who is using your
  242.         system. Sentry has the solution for all of these problems, by
  243.         restricting access and logging all attempts to use the system.
  244.  
  245.         Alternatively, sometimes you just want to keep people out,
  246.         period. It could be your nosy room mate, your little brother, or
  247.         your boss at work. In any case, Sentry will keep them out, while
  248.         letting a select group of people in.
  249.  
  250.         1.1.2 In a Business Environment
  251.  
  252.         Businesses will find Sentry valuable to guard against
  253.         unauthorized access to PC's. With Sentry, you can leave your
  254.         terminals unattended, knowing that the information held on them
  255.         is secure. Many businesses have cleaners or other independent
  256.         contractors come in during silent hours. A lot of businesses
  257.         have PC's in open areas where a "passer-by" could use them. Most
  258.         terminals are left unattended for a portion of the day (lunch,
  259.         during errands, during meetings, etc.). There's no guarantee
  260.         that an unauthorized person won't attempt to use your PC's when
  261.         you're not around.
  262.  
  263.         For businesses that work in groups, Sentry is useful for keeping
  264.         track of who used the PC's and when. Supervisors could have
  265.         SuperUser access on all PC's in their group, allowing them to
  266.         manage and control access as required. Also, the log that Sentry
  267.         keeps could be a valuable tool in determining who was doing
  268.         what, and when.
  269.  
  270.         1.1.3 In an Educational Environment
  271.  
  272.         Schools and educational institutes will find Sentry useful for
  273.         limiting access to certain terminals. If, for example, only a
  274.         select group of people (staff, administrators, or a certain
  275.         class) should have access to specific PC's, simply give each
  276.         person an account. Anyone without an account cannot log in.
  277.         Sentry will also help track usage, attempted break-ins, and any
  278.         other suspicious activity.
  279.  
  280.         Often school terminals are left unattended, with nothing to stop
  281.         a student from "poking around." Sentry can act as protection
  282.         from the prying eyes of the student body.
  283.  
  284.         1.1.4 General
  285.  
  286.         You may not need to use Sentry on your system. You might never
  287.         have a security problem to worry about. But the truth is that
  288.         Security isn't something to take a chance on. It is a serious
  289.         problem in today's computing society, and many legitimate users
  290.         find themselves helpless or confused about the real issues. It
  291.         is a shame that the immoral few have ruined it for the rest, but
  292.         we cannot let them get in the way of our daily business. With
  293.         the proper tools and knowledge, we can fight back by closing up
  294.         the common loopholes that attackers use.
  295.  
  296.  
  297.         1.2 Features of Sentry
  298.  
  299.         1.2.1 General
  300.  
  301.         Sentry will allow you to set up accounts on your computer, one
  302.         account for each person you want to have access. If someone
  303.         doesn't have an account, they don't get in. It's that simple.
  304.         Each person has their own account, with their own password,
  305.         making it easy to track who logs in and when. Since Sentry
  306.         doesn't use a "master access" password, you can wipe a single
  307.         users account without affecting any other users.
  308.  
  309.         Sentry records each login attempt in a log file which can be
  310.         viewed by the SuperUser at any time.
  311.  
  312.         1.2.2 Expiry Dates
  313.  
  314.         You can set accounts to expire on a certain date, effectively
  315.         barring access to the specified user after that. For example, if
  316.         you know that Joe will be leaving on April 14th, you can set his
  317.         account to expire on April 15th. That means you don't have to
  318.         remember to delete his account on the 15th... It will expire on
  319.         it's own, and you can delete it whenever you remember.
  320.  
  321.         You can also set expiry dates for passwords, meaning that a user
  322.         will have to enter a new password once his old one has expired.
  323.         In addition, you can set the period of time that new passwords
  324.         are good for.
  325.  
  326.         1.2.3 Windows
  327.  
  328.         Sentry can be used in conjunction with Windows to make it a
  329.         more secure environment. You can protect your MS-DOS icon so
  330.         that only users with an account can drop to DOS. In addition,
  331.         you can tailor the way Windows operates to allow more protection
  332.         from accidental deletion or modification of important items.
  333.  
  334.         1.2.4 File Protection
  335.  
  336.         In addition to securing your PC, Sentry can secure individual
  337.         files. If you have a program that you need to keep on your hard
  338.         drive, but you want to restrict who uses it, you can simply
  339.         protect that file with Sentry. A good example of this is the
  340.         FORMAT program. This is a useful command, however you probably
  341.         don't want it available to the masses. The solution? Protect it
  342.         with Sentry. Once protected, only those people you designate
  343.         will be able to execute the program.
  344.  
  345.  
  346.         1.3 Distribution of Sentry
  347.  
  348.         Sentry is a copywritten piece of work, however distribution of
  349.         the ShareWare version is allowed and encouraged. The only
  350.         stipulation is that it must be unmodified, and must contain all
  351.         of the original files (and no others). Essentially, the
  352.         SentryXX.zip file you initially received is the only format that
  353.         Sentry is distributable in.
  354.  
  355.         DO NOT distribute any registered versions whatsoever. (By
  356.         distributing a registered version, you are giving out copies of
  357.         a specific encoding scheme, which can be used against the
  358.         registered user - and only the registered user!)
  359.  
  360.  
  361.         2.0 Setup
  362.         =========
  363.  
  364.         Since you are reading this, I can safely assume you have
  365.         unzipped Sentry. Along with that, I will also assume that you
  366.         have created a directory for Sentry, and that all Sentry files
  367.         are currently in it. (If this is not true, do it now). You may
  368.         want to read the section entitled "Creating a new Instance of
  369.         Sentry" below.
  370.  
  371.  
  372.         2.1 Installing Sentry
  373.  
  374.         The very first thing you should do is make sure you keep a copy
  375.         of all the Sentry files somewhere safe. Copying them to a floppy
  376.         disk and storing it is a good idea.
  377.  
  378.         From here, installation is relatively simple. Just run the
  379.         program called INSTALL.EXE. You will now be asked for the
  380.         directory you wish to install to. If it the current directory,
  381.         you can simply enter a period (.) at this prompt. If you enter
  382.         another directory, the files will be copied to that new
  383.         directory, but not deleted from the current one. (You must do
  384.         that yourself).
  385.  
  386.         If you have previously exported your initialization settings,
  387.         they will be detected now, and you will be asked if you wish to
  388.         use them.
  389.  
  390.         If there are no exported settings, the install program will
  391.         automatically search to see if your copy of Sentry already has
  392.         initialization settings. If it does, you will be asked if you
  393.         wish to over-write them. Enter 'y' if you wish to overwrite
  394.         them. If you do not already have initialization settings, the
  395.         install program will automatically use the default settings.
  396.  
  397.         Next you will be asked if you wish to update your system files.
  398.         If you answer 'y' then your AUTOEXEC.BAT, CONFIG.SYS and
  399.         MSDOS.SYS (for Windows 95 only) will be backed up and modified.
  400.         This action will cause Sentry to run automatically the next time
  401.         your computer reboots.
  402.  
  403.         Finally, you will be asked if you wish to use Sentry with
  404.         Windows. If you answer 'y' then you will be asked for the path
  405.         to your windows directory. You will also be asked a series of
  406.         questions about general Windows security. The options you select
  407.         will automatically be set within windows. If you wish to re-set
  408.         any options, simply run the install program again.
  409.  
  410.         Please note that the install program deletes itself after
  411.         running. This is so it cannot be run by a regular user to gain
  412.         access or over-write settings. Make sure you keep a backup of
  413.         the install program in case you need it.
  414.  
  415.  
  416.         2.2 The Initial Login
  417.  
  418.         Your first login to Sentry should be as a SuperUser.  This will
  419.         enable you to add yourself as a user and begin customizing your
  420.         installation. It is important that you perform the following
  421.         steps as soon as possible, as leaving the Sentry account is a
  422.         serious security breach.
  423.  
  424.         As soon as you are ready, run Sentry from the DOS prompt (by
  425.         typing "SENTRY" while in the proper directory). If an error
  426.         message appears, consult section 13.
  427.  
  428.         To log in as a SuperUser, hold down the CTRL key when pressing
  429.         ENTER, after you have typed in the login "Sentry," without the
  430.         quotation marks.  Then use the password Sentry (sentry or SENTRY
  431.         will not work).  Both login names and passwords are case
  432.         sensitive by default, so remember the capital letters.  You can
  433.         turn off case sensitivity for logins by editing intialization
  434.         settings, but the password will always be case sensitive.
  435.  
  436.         Now instead of dropping to DOS, or immediately following the
  437.         instructions in your Autoexec.bat file, you will go to the
  438.         SuperUser Menu.
  439.  
  440.         From here, select "1. User Maintenance Menu."  There you should
  441.         create a new user (you).  You will also want to grant yourself
  442.         SuperUser access.  You can do this by holding down the CTRL key
  443.         while pressing enter after typing the login name. You can also
  444.         use the "Toggle SuperUser Access" menu option to grant SuperUser
  445.         priviliges.
  446.  
  447.         See the section below on "The SuperUser Menu" for more
  448.         information.
  449.  
  450.  
  451.         2.3 First Priorities
  452.  
  453.         Once you have your account set up, you should delete the Sentry
  454.         account, so nobody else can use it. This is very important as a
  455.         potential intruder will probably try to enter through the
  456.         default Sentry account first. (If you delete it, that closes the
  457.         loophole).
  458.  
  459.         Sentry will not let you delete the last SuperUser, so you must
  460.         create a new user with SuperUser access before deleting the
  461.         Sentry account.
  462.  
  463.         From here, you can create the other users of your system, and
  464.         define their starting passwords, expiry dates and access rights.
  465.         See the section below on "The SuperUser Menu" for more
  466.         information.
  467.  
  468.  
  469.         2.4 Using the Initialization Settings
  470.  
  471.         Sentry can be configured to your needs by way of the
  472.         initialization settings. These settings contain information that
  473.         you may wish to change, allowing Sentry to adapt to many
  474.         different situations.
  475.  
  476.         You can edit the initialization settings from the SuperUser
  477.         menu. You can do this by selecting the "Edit Initialization
  478.         Settings" option (see section 5.10 and section 10 for details).
  479.         Each setting includes helpful hints and information to simplify
  480.         customization. Any changes you make will not take effect until
  481.         the next time you use Sentry.
  482.  
  483.  
  484.         2.5 Uninstalling Sentry
  485.  
  486.         Sentry is simple to uninstall. Simply re-run the INSTALL.EXE
  487.         program (you may have to get it from backup as it deletes itself
  488.         after installing). At the "Install Path" prompt, simply enter an
  489.         asterisk (*) to uninstall.
  490.  
  491.         From here you will be asked if you wish to remove Sentry from
  492.         your hard drive. Responding with a 'y' will delete the files and
  493.         remove the directory that Sentry is in. Next you will be
  494.         prompted for your windows directory. If you did not install
  495.         Sentry with Windows, you can simply enter an asterisk (*) to
  496.         skip this.
  497.  
  498.         When the program finishes, Sentry will no longer be on your
  499.         system. If you change your mind, you can re-install it at any
  500.         time.
  501.  
  502.  
  503.         3.0 Securing Your Computer
  504.         ==========================
  505.  
  506.         Sentry is essentially useless unless you take the appropriate
  507.         additional security measures for your machine. Below I have
  508.         outlined some of the things you can do to increase the security
  509.         of your system.
  510.  
  511.  
  512.         3.1 BIOS Password
  513.  
  514.         Protect your BIOS! It has a built in password, so set it!
  515.         Without the password, any user can get into your BIOS and change
  516.         your critical system settings. I have seen several different
  517.         types of BIOS setups, but generally, you use the CHANGE PASSWORD
  518.         command (Sometimes also listed as SUPERVISOR PASSWORD) from the
  519.         main menu and set the SECURITY OPTION to "Setup" (as opposed to
  520.         "System") in the BIOS FEATURES SETUP screen. Depending on the
  521.         layout of your BIOS, you may have a CHANGE SETUP PASSWORD option
  522.         right on the main menu.
  523.  
  524.  
  525.         3.2 Boot Sequence
  526.  
  527.         Change your boot sequence. Again, in your BIOS, under the BIOS
  528.         FEATURES SETUP screen, set your BOOT SEQUENCE to boot from your
  529.         hard drive first. (This usually means set it to C,A as opposed
  530.         to A,C). This will ensure that no-one can bypass Sentry by means
  531.         of a boot disk.
  532.  
  533.  
  534.         3.3 SWITCHES in CONFIG.SYS
  535.  
  536.         This step is not required for Windows 95 users.
  537.  
  538.         Add "switches /n/f" as the first line of your CONFIG.SYS file.
  539.         The /n will disallow pressing F8 or F5. F8 allows users to step
  540.         through each command of the CONFIG.SYS and AUTOEXEC.BAT files,
  541.         and F5 gives them the option of skipping them all together. This
  542.         means that users cannot bypass Sentry by this method. The /f
  543.         switch is optional, it simply speeds up your boot-up time (by
  544.         about 2 seconds).
  545.  
  546.         This is automatically done if you update your system files
  547.         through the install program.
  548.  
  549.  
  550.         3.4 BootKeys in MSDOS.SYS
  551.  
  552.         This step is for Windows 95 users ONLY.
  553.  
  554.         Add the line "BootKeys=0" to your MSDOS.SYS file. This will
  555.         disable the use of F8, F4 or SHIFT to bypass the CONFIG.SYS and
  556.         AUTOEXEC.BAT files. Adding this line is therefore a must,
  557.         otherwise people will be able to defeat Sentry with the press of
  558.         a key. To edit your MSDOS.SYS file, you may need to issue the
  559.         command "attrib -h -s c:\msdos.sys" which will make it readable.
  560.         When you are finished, you should issue the command "attrib +h
  561.         +s c:\msdos.sys" which will restore it to it's previous
  562.         condition.
  563.  
  564.         This is automatically done if you update your system files
  565.         through the install program.
  566.  
  567.  
  568.         3.5 BREAK in CONFIG.SYS
  569.  
  570.         You must also check your CONFIG.SYS file for any BREAK commands.
  571.         If the command BREAK=ON is present, delete it! This command may
  572.         allow users to break out of the CONFIG.SYS file, which is wrong!
  573.         If BREAK=OFF exists, that is ok (since that is the DOS default,
  574.         and it is secure), however you must get rid of any BREAK=ON
  575.         commands.
  576.  
  577.         This is automatically done if you update your system files
  578.         through the install program.
  579.  
  580.  
  581.         3.6 Passwords
  582.  
  583.         Pick a good password. Short passwords are a bad idea, as well as
  584.         birthdays, girlfriends names, etc. Anything that is easy to
  585.         guess should be avoided. Good passwords are not words at all,
  586.         but made up from a "mnemonic" sentence. For example, the
  587.         sentence "I'll wait for you" turns into "Illw84u" (trust me).
  588.         Mixing lower case letters, upper case letters, and numbers
  589.         increases the security of a password, and passwords of this type
  590.         are near impossible to guess or crack. Do not write your
  591.         password down, especially near your computer. Try to memorize it
  592.         if possible. Change your password, but not too often. People who
  593.         change their passwords too often (less than 6 months or so) tend
  594.         to write them down, which is a bigger risk. Don't enter your
  595.         password with someone looking over your shoulder. If someone is
  596.         in the room, block their view, or wait until they leave.
  597.  
  598.  
  599.         3.7 Placement in AUTOEXEC.BAT
  600.  
  601.         When you are installing Sentry, make sure it is the FIRST file
  602.         in your AUTOEXEC.BAT! Otherwise, the user may be able to exit
  603.         when another program is running and avoid Sentry all together!
  604.  
  605.         This is automatically done if you update your system files
  606.         through the install program.
  607.  
  608.  
  609.         3.8 Keep a Backup
  610.  
  611.         Keep a backup copy of all your Sentry files! If something
  612.         happens to these files, you may be locked out your computer if
  613.         you don't have a backup. It is best to copy your entire Sentry
  614.         directory to a floppy disk about once a week, so you won't be
  615.         caught short.
  616.  
  617.  
  618.         4.0 Logging In
  619.         ==============
  620.  
  621.         4.1 The Login Procedure
  622.  
  623.         When you first run Sentry, you should see the standard startup
  624.         screen. Your registration information is contained here. (The
  625.         shareware release simply says it is registered to Shareware).
  626.         You should also see a prompt asking you to enter your login (or
  627.         user name). If instead you see an error message, check at the
  628.         end of this file for help.
  629.  
  630.         While entering your user name, if you have SuperUser access, you
  631.         can log in as such. You can do this by holding down the CTRL key
  632.         while pressing enter (CTRL-ENTER). If you do not have SuperUser
  633.         access, or do not wish to log in as such, simply press enter. In
  634.         either case, this will send you to the password prompt.
  635.  
  636.         Once you have reached the password prompt, you simply enter your
  637.         password, and hit enter when you are finished. Your password is
  638.         not echoed to the screen.
  639.  
  640.         The minimum and maximum length of both the login and password
  641.         are set by initialization settings. If you wish to change these,
  642.         you must do so from the SuperUser menu.
  643.  
  644.         After correctly entering your password, Sentry will search for
  645.         any messages addressed to you. If you have a message waiting, it
  646.         will be displayed. Pressing 'd' will delete that message, any
  647.         other key will keep it for the next time you log in. Each
  648.         message is displayed individually.
  649.  
  650.         Next, the date and time of your last login will be displayed. If
  651.         there have been any invalid login attempts made against your
  652.         account since the last valid login, you will be told so, and how
  653.         many. If the number of invalid login attempts against your
  654.         account has exceeded the maximum allowed, your account will be
  655.         locked out until the SuperUser resets it.
  656.  
  657.         If your account has expired, it will say so, and subsequently
  658.         lock you out. If your password has expired, it will also say so,
  659.         but will then prompt you to enter a new password. You may not
  660.         re-use your old password, and you must pick a password that
  661.         corresponds to the length limits set out by the initialization
  662.         settings. Once you have entered and verified your new password,
  663.         it is given a new expiry date according to the default (again
  664.         determined by the initialization settings).
  665.  
  666.         If you have logged in as a SuperUser, and have SuperUser access,
  667.         you will now be in the SuperUser menu (see the section below).
  668.         If not, you will simply be dropped to DOS, and the login
  669.         procedure is complete.
  670.  
  671.  
  672.         4.2 Changing Passwords
  673.  
  674.         If you wish to change your password at any time, you can do so
  675.         by entering the pass key. The pass key is defined in the
  676.         initialization settings, and is displayed when Sentry starts up.
  677.         The default pass key is "passwd". To change your password,
  678.         simply enter your user name as usual, and when prompted for your
  679.         password, enter the pass key. You will then be prompted for your
  680.         old  password (to make sure it is really you), and then you will
  681.         be asked for your new password, which will be verified and saved
  682.         to disk. Your new password will expire in the number of days
  683.         designated by the initialization settings.
  684.  
  685.         Changing your password has no effect on SuperUser access.
  686.  
  687.  
  688.         5.0 The SuperUser Menu
  689.         ======================
  690.  
  691.         The SuperUser menu is where most of the important actions take
  692.         place. From here it is easy to perform system administrator
  693.         tasks, and maintain user accounts. The following options are
  694.         shown on the SuperUser menu:
  695.  
  696.             1.  The User Maintenance Menu
  697.             2.  View Log File
  698.             3.  Edit Initialization Settings
  699.             4.  Send a Message to a User
  700.             5.  Protect a File
  701.             6.  Export Initialization Settings
  702.             7.  Exit
  703.  
  704.         Each option is described below.
  705.  
  706.  
  707.         5.1  The User Maintenance Menu
  708.  
  709.         The User Maintenance Menu contains all actions that affect
  710.         users. The following options can be accessed through the User
  711.         Maintenance Menu:
  712.  
  713.             1.  Create User
  714.             2.  Delete User
  715.             3.  View Users
  716.             4.  Toggle SuperUser Status
  717.             5.  Change Account Exipry Date
  718.             6.  Change Password Expiry Date
  719.             7.  Change Account Password
  720.             8.  Assign Max Invalid Logins
  721.             9.  Return to SuperUser Menu
  722.  
  723.         Each option is described below.
  724.  
  725.         5.1.1  Create User
  726.  
  727.         This option allows you to create users on your system. First of
  728.         all, you must enter the username (or login) you wish to assign
  729.         to that user. If you wish to create a user with SuperUser
  730.         status, type in the username and hold down the CTRL key when
  731.         pressing enter. Otherwise, just press enter. Once that is
  732.         complete, Sentry asks for the password. The password is not
  733.         echoed to the screen. The user should choose and enter their own
  734.         password. SuperUsers need not know what the passwords are since
  735.         they can still manage the accounts without knowing them. The
  736.         password is entered twice to ensure no typos were made, and then
  737.         saved in encoded form. The ESC key will abort this operation at
  738.         any time.
  739.  
  740.         Note: There is currently a maximum of 100 users allowed. This
  741.         limit can be bypassed if required (contact me for a larger
  742.         capacity version).
  743.  
  744.  
  745.         5.1.2  Delete User
  746.  
  747.         The delete option is very simple. It brings up a list of all
  748.         users, and you simply use the cursor keys to highlight the user
  749.         you wish to delete. SuperUsers are denoted by a * to the right
  750.         of their username. Press enter to select the appropriate user.
  751.         If the selected user is a SuperUser, Sentry will give a warning.
  752.         SuperUser or not, Sentry will then ask if you are sure you want
  753.         to delete them. Any input other than a 'y' will not perform the
  754.         delete. The ESC key will abort this option at any time.
  755.  
  756.  
  757.         5.1.3  View Users
  758.  
  759.         This option allows you to view all users who currently have
  760.         accounts on your system. SuperUsers are again denoted by a * to
  761.         the right of their login name. The last login date/time, account
  762.         expiry date and password expiry date are also shown to the right
  763.         of the user's login name. In addition, the number of invalid
  764.         logins since the users last valid login are shown with the
  765.         number of invalid logins allowed before an account is locked up.
  766.         An "X" in the "Max Inv Log" (Maximum Number of Invalid Logins
  767.         Allowed) column means there is no limit. You can use the PAGE UP
  768.         and PAGE DOWN keys to scroll forward and back if there are
  769.         multiple pages of users. Arrows will be present if there are
  770.         additional pages above/below. The ESC key will exit back to the
  771.         main menu.
  772.  
  773.  
  774.         5.1.4  Toggle SuperUser Status
  775.  
  776.         When this option is selected, it first brings up a list of all
  777.         users on the system. Again, SuperUsers are denoted by a *. Once
  778.         you have selected a user, Sentry will ask you if you want to
  779.         grant/revoke SuperUser access to/from the appropriate user. Any
  780.         input other than a 'y' will not change that users status. Now
  781.         the user must enter a password. (Since the SuperUser status is
  782.         encoded in the password, and the password can never be decoded,
  783.         I can't change SuperUser access without resetting the password).
  784.         The user can re-enter their old password, or enter a new one
  785.         (the old one will be over-written). In a worst case scenario,
  786.         the SuperUser can re-assign a new password to the user if he is
  787.         unavailable to enter a new password himself. (A hostile user can
  788.         have SuperUser access revoked without having to enter a new
  789.         password; you can do it for him).
  790.  
  791.  
  792.         5.1.5  Change Account Exipry Date
  793.  
  794.         This option lets you define when an account will expire on your
  795.         system. Expired accounts no longer have access. This option is
  796.         useful if a user will be leaving. Then you don't have to
  797.         remember to delete their account on the day they leave. You can
  798.         set it to expire, and delete it when you remember.
  799.  
  800.         This option also works in conjunction with the "Assign Max
  801.         Invalid Logins" option. Once an account reaches it's maximum
  802.         number of sequential invalid logins, it expires. The only way to
  803.         re-activate the account is to change the expiry date with this
  804.         option.
  805.  
  806.         Once you select this option, some information about the account
  807.         will be displayed. If it is a SuperUser account, Sentry will
  808.         tell you so. It will then display the account's current expiry
  809.         date. You will be asked if you are sure you want to change that
  810.         user's expiry date. Any input other than a 'y' will abort the
  811.         process, otherwise you will be prompted for the year the account
  812.         will expire. The year must be entered as 4 digits (IE: 1997). If
  813.         you enter 'N' at the year prompt, no expiry date is assigned to
  814.         that account (it is valid forever). If you enter a valid year,
  815.         you will then be prompted for the expiry month, which is entered
  816.         as 2 digits (IE: 06 for June) followed by the expiry day, which
  817.         is also entered as 2 digits. Accounts expire at one second past
  818.         midnight on the date of expiry.
  819.  
  820.  
  821.         5.1.6  Change Password Expiry Date
  822.  
  823.         This option lets you define when a users password will expire.
  824.         Once the password has expired, the user must enter a new one.
  825.         This forces the user to change their password. Once a password
  826.         has expired, the next time the user logs in he will be forced to
  827.         enter a new password. The new password is valid for the number
  828.         of days set by the initialization settings. Once a password has
  829.         expired, the user cannot re-enter it. He must select a new
  830.         password. (NOTE: Sentry does not keep historical records on
  831.         passwords, so a user may alternate back and forth between 2
  832.         passwords. This is not a secure practice and should be avoided).
  833.  
  834.         Once you select this option, some information about the account
  835.         will be displayed. If it is a SuperUser account, Sentry will
  836.         tell you so. It will then display the current expiry date for
  837.         the password. You will be asked if you are sure you want to
  838.         change that user's expiry date. Any input other than a 'y' will
  839.         abort the process, otherwise you will be prompted for the year
  840.         the password will expire. The year must be entered as 4 digits
  841.         (IE: 1997). If you enter 'N' at the year prompt, no expiry date
  842.         is assigned to that password (it is valid forever). If you enter
  843.         a valid year, you will then be prompted for the expiry month,
  844.         which is entered as 2 digits (IE: 06 for June) followed by the
  845.         expiry day, which is also entered as 2 digits. Passwords expire
  846.         at one second past midnight on the date of expiry.
  847.  
  848.  
  849.         5.1.7  Change Account Password
  850.  
  851.         This option allows the SuperUser to change an account's
  852.         password, in case the user forgot it, or some other strange
  853.         disaster has occurred. When assigning a new password to an
  854.         account, you should set the expiry date to be immediately, so
  855.         the user is forced to choose a new one. If the previous password
  856.         had no expiry date, none is assigned to the new password.
  857.         Otherwise the password expires in the number of days assigned in
  858.         the initialization settings. You can abort at any time by
  859.         pressing the ESC key.
  860.  
  861.  
  862.         5.1.8  Assign Max Invalid Logins
  863.  
  864.         This allows you to set the maximum number of invalid logins
  865.         allowed before an account is disabled. The default number is
  866.         defined in the initialization settings, and is assigned to all
  867.         accounts when they are first used.
  868.  
  869.         To assign a new maximum, simply select the "Assign Max Invalid
  870.         Logins" option from the SuperUser menu. From here you will be
  871.         shown the complete user list, and asked to select the user you
  872.         wish to change. Pressing the ESC key will abort the operation
  873.         here.
  874.  
  875.         Once you have selected the user, you will be informed if that
  876.         user is a SuperUser. NOTE: You should not assign a maximum
  877.         number of invalid logins to your last SuperUser account. If you
  878.         do, and someone attempts to break in to that account, you could
  879.         be locked out of the SuperUser menu!
  880.  
  881.         Next you will be told what the user's current max invalid login
  882.         setting is, and asked if you want to change it. Any input other
  883.         than a 'Y' will abort the operation. Now you will be asked to
  884.         enter the number of invalid login attempts before an account is
  885.         disabled. Entering 'N' or a 0 will mean that there can be
  886.         unlimited invalid login attempts made.
  887.  
  888.         Please note that a value of less than 10 may cause you more
  889.         trouble than good. You may be spending a lot of time re-setting
  890.         accounts if you pick too low a value, so consider this
  891.         carefully. Also note that when an account is locked up, it is
  892.         actually set to expire immediately. As a result, if you wish to
  893.         re-activate an account, you must change the account's expiry
  894.         date (see above). This is also handy for determining when the
  895.         account was actually de-activated. The expiry date for that
  896.         account it set the day it was locked out.
  897.  
  898.         Every time a successful login is made to an account, the invalid
  899.         login counter is reset. This means that an account will not be
  900.         locked out if it has a valid login before the maximum is
  901.         reached. (For example, say an account has a maximum of 10
  902.         invalid logins. If there are 7 invalid logins before a
  903.         successful login, and then 5 more invalid logins, the account
  904.         will not be locked up. There must be 10 sequential invalid
  905.         logins for the account to be disabled.)
  906.  
  907.         Once you have finished making the change, you can view the user
  908.         list to make sure it is acceptable.
  909.  
  910.  
  911.         5.1.9  Return to SuperUser Menu
  912.  
  913.         This option simply returns you to the SuperUser menu. It is the
  914.         same as hitting the ESC key.
  915.  
  916.  
  917.         5.2  The Log File Maintenance Menu
  918.  
  919.         The Log File Maintenance Menu contains all actions required to
  920.         manage the log file. The following options can be accessed
  921.         through the Log File Maintenance Menu:
  922.  
  923.             1. View Log File
  924.             2. View Backup Log File
  925.             3. Move Log File to Backup
  926.             4. Return to SuperUser Menu
  927.  
  928.         Each option is described below.
  929.  
  930.  
  931.         5.2.1  View Log File
  932.  
  933.         Every time a user logs in, a record is kept on disk. If you want
  934.         to view that online record, select this option. You will be
  935.         asked if you want view to the log file for one or all users.
  936.         Entering 'o' (for one user) will bring you to the userlist,
  937.         where you can select the user you wish to view. Any other input
  938.         will show the log for all users.
  939.  
  940.         The log file will be displayed one screen at a time. You can
  941.         press ESC at any time to skip to the end of the file. Once the
  942.         entire log file has been displayed, Sentry will ask you if you
  943.         want to clear the log file. If you were viewing a single user's
  944.         log, Sentry will ask if you want to clear their file.
  945.  
  946.         Any input other than 'y' will exit, leaving the log file in
  947.         tact. If you answer with a 'y', Sentry will clear out the old
  948.         entries. When viewing the log for all users, that means that all
  949.         entries will be removed. When viewing the log for a single user,
  950.         only that user's entries will be removed.
  951.  
  952.         The log file itself will not consume much disk space, and so it
  953.         should be left in tact for historical reasons. You may find it
  954.         necessary to refer back to the log file to verify certain
  955.         events. If disk space is a constraint, you can use the "Move Log
  956.         File to Backup" option described later.
  957.  
  958.         You should always keep a close eye on the log file as this will
  959.         often tell you when something is wrong on your system. All error
  960.         messages are saved to the log file, so you can see if Sentry has
  961.         run into any problems. Also, it records the current time, and
  962.         the username of the user attempting to log in. This will help
  963.         you to identify any potential attacks on your system. The log
  964.         file is hidden by Sentry, but you should also place it somewhere
  965.         safe so that users cannot tamper with it. You can set the
  966.         location of the log file via the initialization settings.
  967.  
  968.  
  969.         5.2.2  View Backup Log File
  970.  
  971.         This option is the same as "View Log File" except it allows you
  972.         to view the information you have backed up. This is strictly for
  973.         historical purposes, so log file information is not lost.
  974.  
  975.  
  976.         5.2.3  Move Log File to Backup
  977.  
  978.         This moves all of the information in the current log file to the
  979.         backup file. The backup file is not overwritten, the new
  980.         information is appended to it. This makes it easier to manage
  981.         when the log file gets large, but you don't want to clear it.
  982.  
  983.  
  984.         5.2.4  Return to SuperUser Menu
  985.  
  986.         This option simply returns you to the SuperUser menu. It is the
  987.         same as hitting the ESC key.
  988.  
  989.  
  990.         5.3  Edit Initialization Settings
  991.  
  992.         This option allows you to edit the initialization settings.
  993.         After installation, it is critical that you go through each and
  994.         every attribute, and make sure it is set to your liking. Many of
  995.         the initialization settings have serious implications on
  996.         security. Once this option is selected, all of the attributes
  997.         are displayed. Simply select the attribute you wish to modify,
  998.         and you will be given the following information:
  999.  
  1000.                 - A one line description of the attribute.
  1001.  
  1002.                 - A brief description of the attribute and it's uses.
  1003.  
  1004.                 - Valid settings for the attribute, if applicable.
  1005.  
  1006.                 - Any security notes, if applicable.
  1007.  
  1008.                 - The default value for the attribute.
  1009.  
  1010.                 - The current value for the attribute.
  1011.  
  1012.         At this time, you will be prompted to enter a new value for the
  1013.         attribute. Pressing ENTER on a blank line, or pressing the ESC
  1014.         key abort any changes the current value.
  1015.  
  1016.         Sentry performs strict checking on the values you enter, and
  1017.         will not save an invalid value.
  1018.  
  1019.         See section 10 for details on individual settings.
  1020.  
  1021.  
  1022.         5.4  Send a Message to a User
  1023.  
  1024.         This option allows the SuperUser to send a one-line message to
  1025.         any user on the system (including themselves). Once this option is
  1026.         selected, you must pick the user you wish to send a message to
  1027.         from the list of all users. Once this is done, you will be
  1028.         prompted for your one-line message. If you wish to send more
  1029.         than one line, simply send two messages to the same user. After
  1030.         you have entered your message, you will be returned to the
  1031.         SuperUser menu. The next time that person logs in, your message
  1032.         will be displayed, including:
  1033.  
  1034.           - Who the message is from
  1035.           - The time and date the message was sent
  1036.           - The message itself
  1037.  
  1038.         The user then has the option to delete the message. If they do
  1039.         not delete the message, they will also see it on their next
  1040.         login.
  1041.  
  1042.         NOTE: Messages are displayed before any login information, so
  1043.         you can send messages to users that are locked out. That way, if
  1044.         you wish to send an explanation, you can.
  1045.  
  1046.  
  1047.         5.5  Protect a File
  1048.  
  1049.         This option allows you to protect executable files (.EXE, .COM
  1050.         and .BAT). When this option is selected, it prompts for the file
  1051.         name. You must enter a path to a file that exists, and the file
  1052.         must be executable. If the file name is correct, Sentry then
  1053.         processes that file, and "protects" it. Protection means that
  1054.         the next time that file is run, Sentry will execute. If the user
  1055.         enters a valid login and password, then the original file
  1056.         executes. If not, then the file is not executed.
  1057.  
  1058.         This is useful for protecting individual files. After all, if a
  1059.         person successfully logs into your computer, they have free
  1060.         access to anything there. This will allow you to tighten up
  1061.         access to individual files.
  1062.  
  1063.         The current method of protection does not work with all files.
  1064.         That is to say, I have tested it on some files that do not run
  1065.         correctly once protected. (It seems to be memory or video
  1066.         conflicts). Currently, a protected file has about 100k less
  1067.         memory available to it than if it was run normally. Also,
  1068.         protecting programs that run within Windows does not work. These
  1069.         issues are "on the list" for research.
  1070.  
  1071.         See section 7 for specific details on protecting files.
  1072.  
  1073.  
  1074.         5.6  Export Initialization Settings
  1075.  
  1076.         Selecting this option will export the Initialization Settings.
  1077.         This will allow you to use the same settings and account
  1078.         structure when you upgrade. The process for this is simple.
  1079.         Select this option, and it will export the settings. Now simply
  1080.         unzip the new SentryXX.zip into your directory (overwriting all
  1081.         files), and run the Install.exe program. Install will
  1082.         automatically sense the exported information, and ask if you
  1083.         want to use it. If you say yes, the settings are automatically
  1084.         updated to the new version, and loaded in.
  1085.  
  1086.         Please note that you should not export the settings unless you
  1087.         plan to import them right away into a new version (it can cause
  1088.         a slight security risk).
  1089.  
  1090.  
  1091.         5.7  Sentry DOS Shell
  1092.  
  1093.         Selecting this option temporarily drops the SuperUser to a DOS
  1094.         shell where they can execute any normal DOS commands. This shell
  1095.         has limited memory and environment space, and should only be
  1096.         used for simple file maintenance. Do not attempt to run any
  1097.         large or complicated files while in the DOS shell.
  1098.  
  1099.         Type "EXIT" to return to the SuperUser menu.
  1100.  
  1101.  
  1102.         5.8 Security Audit
  1103.  
  1104.         This is one of the more powerful options in Sentry. Selecting
  1105.         this option will cause Sentry to automatically search for
  1106.         weaknesses in your setup. The audit searches in three main
  1107.         areas:
  1108.  
  1109.             - Your System
  1110.             - Your Initialization Settings
  1111.             - Your Account Structure
  1112.  
  1113.         As each of these sections is tested, the user will be informed
  1114.         of Sentry's findings. If a section has no weaknesses detected,
  1115.         then an "Ok" will appear. Otherwise, Sentry will describe the
  1116.         weakness, and ask if you want to fix it. Pressing 'y' will
  1117.         either fix the problem automatically, or prompt you for a new
  1118.         value, depending on the situation.
  1119.  
  1120.         In each section, the following items are checked during an
  1121.         audit:
  1122.  
  1123.             System
  1124.  
  1125.             Check for the following:
  1126.             - no "switches" line in CONFIG.SYS (non-Win95 only)
  1127.             - no "BootKeys" line in MSDOS.SYS (Win 95 only)
  1128.             - no call to Sentry from the AUTOEXEC.BAT file
  1129.             - a "break on" command in the CONFIG.SYS file
  1130.  
  1131.             Initialization Settings
  1132.  
  1133.             Check for the following:
  1134.             - a short max or short min password length
  1135.             - a high number for maximum login attempts
  1136.             - a low number for wait delay
  1137.             - password echoing should be off or masked
  1138.             - a password expiry max of over 365 days
  1139.             - an unused account expiry max of over 365 days
  1140.             - a long wait for the screen saver (over 600)
  1141.             - case sensitivity is off
  1142.  
  1143.             Accounts
  1144.  
  1145.             Check for the following:
  1146.             - accounts that have expired
  1147.             - SuperUser accounts with a max inv log setting
  1148.             - normal accounts with no max inv log setting
  1149.             - accounts where the number of failed login attempts is
  1150.                 exceeded
  1151.             - accounts with no expiry date
  1152.             - passwords with no expiry date
  1153.  
  1154.         As a SuperUser, you should run the audit frequently. If all is
  1155.         well, it completes in a few seconds, but it can alert you to
  1156.         potential problems or suspicious activity that you might not be
  1157.         aware of otherwise.
  1158.  
  1159.         The message "Audit Complete" will appear when the audit is
  1160.         finished. At this point, the user may press any key to return
  1161.         to the SuperUser menu.
  1162.  
  1163.  
  1164.         5.9  Exit
  1165.  
  1166.         This simply returns you to the DOS prompt. It is the same as
  1167.         pressing the ESC key.
  1168.  
  1169.  
  1170.         6.0 Using Sentry With Windows
  1171.         =============================
  1172.  
  1173.         6.1 General
  1174.  
  1175.         Sentry is also adaptable to Windows, allowing you to keep users
  1176.         away from DOS. This may be desirable if you enter Windows
  1177.         immediately upon startup (I.E.: your AUTOEXEC.BAT contains "win"
  1178.         as a command). If you want to limit access to your system as a
  1179.         whole, you could install Sentry in the usual way. This would
  1180.         keep out unwanted users all together. If you want to also limit
  1181.         access to the DOS prompt from Windows, you can do that too. All
  1182.         you must do is create a new instance of Sentry (see below), and
  1183.         then simply set up your windows to run Sentry when you drop to
  1184.         DOS. The example setup below assumes you have installed an
  1185.         instance of Sentry in c:\Sentry\Inst1, but you can substitute
  1186.         your actual directory names in where applicable.
  1187.  
  1188.  
  1189.         6.2 Installation Procedure
  1190.  
  1191.         Installing Sentry in the Windows environment is simple. Included
  1192.         in the Sentry zip file are 2 files:
  1193.  
  1194.         Sentry.grp
  1195.         Sentry.pif
  1196.  
  1197.         Both of these will be copied to your windows directory during
  1198.         the install. Enter Windows and from the Program Manager, select
  1199.         [F]ile, then [N]ew. Next select Program Group. When prompted,
  1200.         enter "Sentry" for both description and file name. Now you
  1201.         should see a new program group called Sentry. The Sentry program
  1202.         group should contain a single icon, labeled MS-DOS. This icon
  1203.         actually points to sentry.pif, which contains specific
  1204.         information about running Sentry.
  1205.  
  1206.         You can edit the new icon (highlight it and press ALT-ENTER) and
  1207.         change the working directory to point to your Sentry files.
  1208.  
  1209.         IE: c:\Sentry, or c:\Sentry\Inst1, etc.
  1210.  
  1211.         From here, run the Pif Editor program (the icon is a little
  1212.         tag), and open Sentry.pif. Now change the "Program Filename" to
  1213.         point to your Sentry.exe file.
  1214.  
  1215.         IE: c:\Sentry\Sentry.exe, or c:\Sentry\Inst1\Sentry.exe, etc.
  1216.  
  1217.         In Addition, change the "Working Directory" to be the same as
  1218.         the working directory for the icon (see above). Once you save
  1219.         the .pif file, you are all set.
  1220.  
  1221.         At this point you should test out the new Sentry icon to make
  1222.         sure it works ok. When you double click on the new icon, it
  1223.         should take you directly to Sentry. Once you have entered a
  1224.         correct username and password, it will then drop you to a
  1225.         regular DOS shell. You can type "EXIT" to return to Windows at
  1226.         any time.
  1227.  
  1228.         Once you are sure it works, remove your old MS-DOS icon, so that
  1229.         users cannot use it to drop straight to DOS. You can drag your
  1230.         new icon into the same location as your old MS-DOS icon, so
  1231.         everything will look the same.
  1232.  
  1233.         Now there is one last step. If a user were to exit Windows, they
  1234.         would be at the DOS level, which is not what we want. Since your
  1235.         AUTOEXEC.BAT file is running windows on startup, you can block
  1236.         people from exiting by forcing them to go through Sentry. You
  1237.         can do this by adding a call to Sentry after the win command in
  1238.         your AUTOEXEC.BAT.
  1239.  
  1240.         For example, the last lines of your AUTOEXEC.BAT might look like
  1241.         this:
  1242.  
  1243.         ----------------- CUT ----------------
  1244.         win
  1245.         \Sentry\Inst1\Sentry
  1246.         ----------------- CUT ----------------
  1247.  
  1248.         Alternatively, you can add the security measures offered by the
  1249.         install program.
  1250.  
  1251.         If it seems like a complicated process, just try the steps one
  1252.         at a time, and make sure everything works ok. The end result is
  1253.         that when you click on the MS-DOS icon, it will run Sentry
  1254.         before dropping you to the DOS shell. That means that you can
  1255.         limit access to the operating system, without pulling any fancy
  1256.         tricks in Windows. Since you have made a new instance of Sentry,
  1257.         you could have one instance run when you boot up (giving access
  1258.         to windows), and have another instance run when you click on the
  1259.         DOS icon (giving access to the operating system). That way, a
  1260.         user that has access to your PC may not be able to drop to DOS.
  1261.  
  1262.         Be warned that Sentry will still lock up your terminal if a user
  1263.         fails to log in. If this happens in Windows, you may be able to
  1264.         recover back to Windows by pressing CTRL-ALT-DELETE and closing
  1265.         the DOS prompt. This will still not allow access to DOS, but you
  1266.         will not lose anything you were working on.
  1267.  
  1268.  
  1269.         6.3 Windows 95
  1270.  
  1271.         Sentry is easily adaptable to use in a Windows 95 environment.
  1272.         In most respects, the setup is the same as in a DOS/Windows
  1273.         environment.
  1274.  
  1275.         The primary difference with Windows 95 is instead of adding the
  1276.         line "switches /n/f" to your CONFIG.SYS file, you must add the
  1277.         following line to your MSDOS.SYS file:
  1278.  
  1279.         BootKeys=0
  1280.  
  1281.         This will disable the use of F8, F4 or SHIFT to bypass the
  1282.         CONFIG.SYS and AUTOEXEC.BAT files. Adding this line is therefore
  1283.         a must, otherwise people will be able to defeat Sentry with the
  1284.         press of a key. To edit your MSDOS.SYS file, you may need to
  1285.         issue the command "attrib -h -s c:\msdos.sys" which will make it
  1286.         readable. When you are finished, you should issue the command
  1287.         "attrib +h +s c:\msdos.sys" which will restore it to it's
  1288.         previous condition.
  1289.  
  1290.         As before, ensure that the call to Sentry is at the beginning of
  1291.         your AUTOEXEC.BAT file. The Sentry.pif file and Sentry.grp file
  1292.         will still work with Windows 95, although at this time I have
  1293.         not drawn up specific instructions for installation.
  1294.  
  1295.         I have not yet conducted thorough tests in a Windows 95
  1296.         environment, however documentation for this should be
  1297.         forthcoming in a future revision.
  1298.  
  1299.  
  1300.         7.0 Securing Other Programs
  1301.         ===========================
  1302.  
  1303.         7.1 General
  1304.  
  1305.         In some cases, it might be beneficial to secure a single
  1306.         program. It might be a word-processor, Windows, or a potentially
  1307.         dangerous file like FORMAT.COM. In any case, you can secure it
  1308.         with Sentry, even if you don't use Sentry during boot-up.
  1309.  
  1310.  
  1311.         7.2 Setup
  1312.  
  1313.         To successfully protect your file, you must keep a backup.
  1314.         (Sentry cannot reverse the process of protecting a file!) This
  1315.         backup should not be kept anywhere accessible (IE: make a backup
  1316.         on floppy, and store it somewhere safe). After all, if a user
  1317.         can run an unprotected version of the file, why bother
  1318.         protecting it in the first place? It is wise to test the file
  1319.         once it has been protected to ensure it works as expected.
  1320.  
  1321.         To protect a file, simply chose "Protect a File" from the
  1322.         SuperUser menu. Sentry will ask for the file name of the file to
  1323.         protect. The file must be an executable (IE: it ends with .EXE,
  1324.         .COM or .BAT). Batch files are automatically converted into .EXE
  1325.         files. Once you have entered a correct file name, Sentry will
  1326.         then proceed to protect the file. When it is finished, you will
  1327.         be returned to the SuperUser menu. Your file is now protected!
  1328.  
  1329.         The applications for this type of protection are almost
  1330.         limitless. Use your imagination. If you come up with an
  1331.         innovative idea, I would be interested in hearing about it.
  1332.  
  1333.  
  1334.         7.3 Account Information
  1335.  
  1336.         The account structure for a given protected file is copied from
  1337.         the version of Sentry that protected the file, but is unique.
  1338.         That is, once a file is protected, a SuperUser can
  1339.         add/delete/modify any accounts for that protected file without
  1340.         affecting any other copies of Sentry. The initialization
  1341.         settings are treated in the same manner. Each protected file has
  1342.         their own unique copy.
  1343.  
  1344.         To change account information on a protected file, simply run
  1345.         the file, and when Sentry executes, log in as a SuperUser. You
  1346.         can now perform all SuperUser options as usual.
  1347.  
  1348.  
  1349.         7.4 Using Templates
  1350.  
  1351.         It is possible to set up "template" instances of Sentry for use
  1352.         when protecting files. This can be extremely useful as it saves
  1353.         the administrator a considerable amount of time, as well as
  1354.         decreasing the possibility of making a mistake.
  1355.  
  1356.         To use templates, you must set up several instances of Sentry
  1357.         (one for each template you wish to use). See section 8 for
  1358.         instructions on how to create an instance of Sentry.
  1359.  
  1360.         A sample setup could be as follows:
  1361.  
  1362.         c:\Sentry
  1363.              |
  1364.              +----+------- Private
  1365.                   |
  1366.                   +------- Public
  1367.                   |
  1368.                   +------- SemiPub
  1369.  
  1370.         With each instance having a complete copy of Sentry. Next simply
  1371.         modify the account structure of each instance to match the
  1372.         template. That is, the Private instance would contain only the
  1373.         SuperUser(s), the Public may contain all users, and the
  1374.         Semi-Public would contain the SuperUser(s) plus some users.
  1375.  
  1376.         Now you would use the Private instance as a template to protect
  1377.         exclusive executables, such as format.com. When you use the
  1378.         Private template, the protected file is automatically set to
  1379.         allow only SuperUsers to run it.
  1380.  
  1381.         Similarly, the Semi-Public template can be used for programs
  1382.         that only the SuperUser and a select number of users have access
  1383.         to.
  1384.  
  1385.         The advantage to using templates is that the administrator need
  1386.         only set up the account structure and initialization settings
  1387.         once. From that point forward it becomes the default for all
  1388.         files protected using that template.
  1389.  
  1390.  
  1391.         7.5 Running a Protected File
  1392.  
  1393.         To use a protected file, simply run it as usual. Now, instead of
  1394.         the program executing, Sentry will run. The user will be
  1395.         confronted with a login prompt, and they must enter a correct
  1396.         login and password to continue.
  1397.  
  1398.         An unsuccessful login will result in the user being locked out
  1399.         (as with Sentry in normal use). A successful login will simply
  1400.         run the protected file. Once the file is run, the user will be
  1401.         returned to whatever they were doing (IE: the DOS prompt, etc).
  1402.  
  1403.         Command line arguments are passed to protected files in the same
  1404.         manner as usual. To run the file FORMAT with the argument A:, it
  1405.         would look like this:
  1406.  
  1407.         format a:
  1408.  
  1409.         which is identical to the usual way of passing command line
  1410.         arguments.
  1411.  
  1412.  
  1413.         8.0 Creating a new Instance of Sentry
  1414.         =====================================
  1415.  
  1416.         In some of the scenarios listed above, you may be required to
  1417.         create a new "instance" of Sentry. That is to say, a completely
  1418.         new copy of Sentry, that works independently of all other
  1419.         copies. This is a fairly simple process, that you can perform as
  1420.         many times as required.
  1421.  
  1422.         The first thing you must do when creating a new instance is to
  1423.         create the directory you wish to place it under. If you plan to
  1424.         have several instances, you may want to create a Sentry main
  1425.         directory, with your instances branching off of that. For
  1426.         example:
  1427.  
  1428.         c:\Sentry
  1429.              |
  1430.              +----+------- Inst1
  1431.                   |
  1432.                   +------- Inst2
  1433.  
  1434.         This will allow you to keep all your Sentry files well
  1435.         organized, and separate from your other programs. Create a
  1436.         directory for each instance you anticipate you will need. From
  1437.         there, simply copy ALL of the Sentry files into each directory.
  1438.  
  1439.         The final step is to set up the accounts of each instance
  1440.         according to your needs. To do this, you must go into each
  1441.         directory individually and run Sentry. Now log in as a SuperUser
  1442.         and set up all the required accounts. Remember that each
  1443.         instance is independent of the others. Your account information
  1444.         will not be the same for any 2 instances (otherwise there is no
  1445.         advantage to having 2 instances).
  1446.  
  1447.         You should always test out each instance and make sure it works
  1448.         before using it.
  1449.  
  1450.  
  1451.         9.0 Registration
  1452.         ================
  1453.  
  1454.         9.1 General
  1455.  
  1456.         If you use Sentry on your machine(s), I urge you to register. A
  1457.         lot of time and effort has been put into Sentry to make it a
  1458.         viable security program. With your help, Sentry can continue to
  1459.         adapt to new situations and keep abreast with any new
  1460.         developments in the field of computer security.
  1461.  
  1462.         On the other hand, I realize that not everyone can afford to
  1463.         register. In that case, please feel free to continue to use the
  1464.         ShareWare version. There are no limitations on how long or how
  1465.         many times it can be used. My intention with Sentry was to make
  1466.         a contribution to PC security, and to make it available to
  1467.         everyone. All I ask is that if you use Sentry, and are able,
  1468.         please register.
  1469.  
  1470.         The shareware version of Sentry has all the functionality of the
  1471.         registered version, with one exception: it does not encode
  1472.         passwords. This will allow you to test out all the functions of
  1473.         Sentry before you commit to purchasing it. The ShareWare version
  1474.         in itself is a very secure program as is, however if you are
  1475.         serious about security, plaintext passwords are not a viable
  1476.         option.
  1477.  
  1478.         To order, simply fill out the order form provided (Order.frm)
  1479.         and e-mail or snail-mail a copy to me.
  1480.  
  1481.  
  1482.         9.2 Benefits of Registration
  1483.  
  1484.         As a registered user, you will receive:
  1485.  
  1486.               - The full Sentry program (with password encryption) and
  1487.                 related files on 3.5" disk.
  1488.  
  1489.               - A laser printed user's manual (essentially this file,
  1490.                 with a few changes in format and content).
  1491.  
  1492.               - Online internet support via e-mail.
  1493.  
  1494.               - Free upgrades as soon as they are available via the
  1495.                 internet.
  1496.  
  1497.               - Notices about any potential security risks, and
  1498.                 instructions on how to protect yourself.
  1499.  
  1500.               - The ability to request specific features in future
  1501.                 versions of Sentry.
  1502.  
  1503.               - A clear conscience knowing that you paid for your
  1504.                 software.
  1505.  
  1506.         NOTE: Registered versions are not inter-compatible. That is,
  1507.         user X's account information is encrypted differently than user
  1508.         Y's. The version of Sentry that you receive is good only for you
  1509.         and your files. (Likewise, nobody else can use their copy of
  1510.         Sentry with your account information). See the order form for
  1511.         information on obtaining compatible versions of Sentry.
  1512.  
  1513.  
  1514.         10.0 The Initialization Settings
  1515.         ================================
  1516.  
  1517.         Shown below are all of the initialization settings that may be
  1518.         changed within Sentry. A short description of each setting is
  1519.         included, as well as any security notes, and the default
  1520.         setting.
  1521.  
  1522.         10.1 Location of the Log File
  1523.  
  1524.         This contains the location of the log file. The log file should
  1525.         be kept somewhere safe, tucked away from prying eyes.
  1526.  
  1527.         NOTE: You should change the name of the file from Sentry.log to
  1528.         some other, inconspicuous name. Potential intruders will search
  1529.         for the Sentry.log file. You can hide it under misleading names
  1530.         such as file_id.diz, chklist.ms, warm.com etc etc.
  1531.  
  1532.         Default: c:\Sentry.log
  1533.  
  1534.  
  1535.         10.2 Location of the Backup Log File
  1536.  
  1537.         This contains the location of the backup log file. When the max
  1538.         log file size has been reached, half of the log file is
  1539.         automatically moved to the backup log file. This prevents the
  1540.         primary log file from getting too large.
  1541.  
  1542.         Default: c:\backup.log
  1543.  
  1544.  
  1545.         10.3 Location of the Message File
  1546.  
  1547.         This contains the location of the message file. The message file
  1548.         should be kept somewhere safe, tucked away from prying eyes.
  1549.  
  1550.         NOTE: You should change the name of the file from Sentry.msg to
  1551.         some other, inconspicuous name. Potential intruders will search
  1552.         for the Sentry.msg file. You can hide it under misleading names
  1553.         such as file_id.diz, chklist.ms, warm.com etc.
  1554.  
  1555.         Default: c:\Sentry.msg
  1556.  
  1557.  
  1558.         10.4 Minimum Password Length
  1559.  
  1560.         Sets the minimum length for passwords and logins.
  1561.  
  1562.         NOTE: A value of 4 should be the absolute minimum for
  1563.         MinPasswordLen. A value of 5 or 6 would be even better. Short
  1564.         passwords are much easier to stumble across since less attempts
  1565.         have to be made before it is guessed.
  1566.  
  1567.         Default: 4
  1568.  
  1569.  
  1570.         10.5 Maximum Password Length
  1571.  
  1572.         Sets the maximum length for passwords and logins.
  1573.  
  1574.         Default: 20
  1575.  
  1576.  
  1577.         10.6 Maximum Invalid Tries
  1578.  
  1579.         Sets the maximum times a user can attempt to log in before being
  1580.         locked out.
  1581.  
  1582.         NOTE: This should not be set too high. It is very rare for a
  1583.         legitimate user to botch a login attempt 3 times in a row. A
  1584.         potential intruder will usually have to make many attempts
  1585.         before getting anywhere. Setting MaxTries to around 3 will slow
  1586.         him down greatly, as he will have to reset after 3 failed
  1587.         attempts.
  1588.  
  1589.         Default: 3
  1590.  
  1591.  
  1592.         10.7 Wait Time After an Invalid Login
  1593.  
  1594.         Sets the delay in seconds to wait after the user fails to log
  1595.         in.
  1596.  
  1597.         NOTE: Setting the WaitTime to 3 or above greatly slows any
  1598.         methodical attempt to guess or discover passwords. It offers
  1599.         little inconvenience to the end users while providing added
  1600.         security.
  1601.  
  1602.         Default: 3
  1603.  
  1604.  
  1605.         10.8 Max Log File Size
  1606.  
  1607.         This sets the maximum size the log file can reach before the
  1608.         oldest half of it is automatically moved to the backup log file.
  1609.         The size is given in number of kilobytes (1024 bytes). A value
  1610.         of 0 means never backup the log file.
  1611.  
  1612.         Default: 20
  1613.  
  1614.  
  1615.         10.9 Key to Change Password
  1616.  
  1617.         Sets the "key" to enter as a password to change passwords.
  1618.  
  1619.         Default: passwd
  1620.  
  1621.  
  1622.         10.10 Password Echo Character
  1623.  
  1624.         Sets the character to be echoed to the screen when the password
  1625.         is being entered.
  1626.  
  1627.         Enter '?' to display no character.
  1628.         Enter '!' to display the actual character (not recommended).
  1629.  
  1630.         Default: *
  1631.  
  1632.  
  1633.         10.11 Days Until Passwords Expire
  1634.  
  1635.         Sets the number of days a password is good before it expires.
  1636.         This is the Default value used whenever a password is changed.
  1637.         Individual passwords can be set to expire on the SuperUser menu.
  1638.  
  1639.         NOTE: It is a good idea to have this set to between 180 and 365.
  1640.         Anything over a year is a security risk due to age. Anything
  1641.         under half a year is a risk because people will tend to forget
  1642.         their passwords and start writing them down. This setting should
  1643.         depend on how busy your system generally is.
  1644.  
  1645.         0 = Never expire passwords.
  1646.  
  1647.         Default: 365
  1648.  
  1649.  
  1650.         10.12 Days Until Accounts Expire
  1651.  
  1652.         Sets the number of days an unused account is good before it
  1653.         expires. This is the Default value used whenever an account is
  1654.         created. Individual accounts can be set to expire on the
  1655.         SuperUser menu.
  1656.  
  1657.         NOTE: This setting should depend on the level of activity on
  1658.         your system. Active systems can afford to have a lower setting
  1659.         than generally inactive settings. You should also take into
  1660.         consideration the probability of an intruder using an old
  1661.         account.
  1662.  
  1663.         0 = Never expire unused accounts.
  1664.  
  1665.         Default: 365
  1666.  
  1667.  
  1668.         10.13 Screen Saver Activation Time
  1669.  
  1670.         This sets the amount of idle time (in seconds) that may pass
  1671.         before the screen saver is activated.
  1672.  
  1673.         Default: 300
  1674.  
  1675.  
  1676.         10.14 Screen Saver Message
  1677.  
  1678.         This is the message that is displayed randomly on the screen
  1679.         when the screen saver is active.
  1680.  
  1681.         Default: This is a Secure Terminal.
  1682.  
  1683.  
  1684.         10.15 Login Prompt
  1685.  
  1686.         This sets the value of the prompt that is displayed when the
  1687.         user is expected to enter their login name. Modifying this
  1688.         allows you to customize your environment as you see fit.
  1689.  
  1690.         Default: Login:
  1691.  
  1692.  
  1693.         10.16 Password Prompt
  1694.  
  1695.         This sets the value of the prompt that is displayed when the
  1696.         user is expected to enter their password. Modifying this allows
  1697.         you to customize your environment as you see fit.
  1698.  
  1699.         Default: Password:
  1700.  
  1701.  
  1702.         10.17 Wrong Password Message
  1703.  
  1704.         This sets the message to be displayed when a user enters the
  1705.         wrong password.
  1706.  
  1707.         NOTE: It is a good idea to keep the wrong password and wrong
  1708.         login messages the same. Otherwise, a potential intruder will
  1709.         know when he has found an account (IE: If Sentry responds with
  1710.         "Invalid Password", he knows the login was correct). Keeping the
  1711.         two the same prevents an attacker from knowing if he even has
  1712.         the correct login.
  1713.  
  1714.         Default: Invalid Login.
  1715.  
  1716.  
  1717.         10.18 Wrong Login Message
  1718.  
  1719.         This sets the message to be displayed when a user enters the
  1720.         wrong login.
  1721.  
  1722.         NOTE: It is a good idea to keep the wrong password and wrong
  1723.         login messages the same. Otherwise, a potential intruder will
  1724.         know when he has found an account (IE: If Sentry responds with
  1725.         "Invalid Password", he knows the login was correct). Keeping the
  1726.         two the same prevents an attacker from knowing if he even has
  1727.         the correct login.
  1728.  
  1729.         Default: Invalid Login.
  1730.  
  1731.  
  1732.         10.19 Bad Password Length Message
  1733.  
  1734.         This sets the message to be displayed when a user enters a
  1735.         password of invalid length.
  1736.  
  1737.         NOTE: It is wise to keep the wrong password length, wrong login
  1738.         length, wrong password and wrong login messages the same. This
  1739.         will prevent a potential attacker from knowing the max and min
  1740.         settings for passwords or logins on your system. (Knowing the
  1741.         length of a password can greatly decrease the amount of time
  1742.         required to crack it).
  1743.  
  1744.         Default: Invalid Login.
  1745.  
  1746.  
  1747.         10.20 Bad Login Length Message
  1748.  
  1749.         This sets the message to be displayed when a user enters a login
  1750.         of invalid length.
  1751.  
  1752.         NOTE: It is wise to keep the wrong password length, wrong login
  1753.         length, wrong password and wrong login messages the same. This
  1754.         will prevent a potential attacker from knowing the max and min
  1755.         settings for passwords or logins on your system. (Knowing the
  1756.         length of a password can greatly decrease the amount of time
  1757.         required to crack it).
  1758.  
  1759.         Default: Invalid Login.
  1760.  
  1761.  
  1762.         10.21 Wrong Password Log Message
  1763.  
  1764.         This sets the message to be saved to the log file when a user
  1765.         enters the wrong password.
  1766.  
  1767.         Default: User entered the wrong password.
  1768.  
  1769.  
  1770.         10.22 Wrong Login Log Message
  1771.  
  1772.         This sets the message to be saved to the log file when a user
  1773.         enters the wrong login.
  1774.  
  1775.         NOTE: This message should be descriptive, since the SuperUser
  1776.         will use it to determine what sort of activities have been
  1777.         happening.
  1778.  
  1779.         Default: User entered the wrong login.
  1780.  
  1781.  
  1782.         10.23 Bad Password Length Log Message
  1783.  
  1784.         This sets the message to be saved to the log file when a user
  1785.         enters a password of invalid length.
  1786.  
  1787.         Default: Invalid Password Length.
  1788.  
  1789.  
  1790.         10.24 Bad Login Length Log Message
  1791.  
  1792.         This sets the message to be saved to the log file when a user
  1793.         enters a login of invalid length.
  1794.  
  1795.         Default: Invalid Login Length.
  1796.  
  1797.  
  1798.         10.25 Environment Variable
  1799.  
  1800.         This sets the environment variable used to store the user's
  1801.         login name after a successful login.
  1802.  
  1803.         NOTE: The environment variable USER is used by many networks,
  1804.         such Novell. By using this setting, Sentry can be used in
  1805.         conjunction with these networks.
  1806.  
  1807.         Default: USER
  1808.  
  1809.  
  1810.         10.26 Enable Sentry with Windows
  1811.  
  1812.         The Windows flag is set if you wish to run Sentry from Windows.
  1813.         Technically, this allows Sentry to open up a DOS shell after a
  1814.         successful login. Setting this option to 1 has no effect on
  1815.         normal use, and is not a security risk.
  1816.  
  1817.         (0=Do Not Run In Windows, 1=Run In Windows)
  1818.  
  1819.         Default: 1
  1820.  
  1821.  
  1822.         10.27 Show Title
  1823.  
  1824.         This determines if the intro screen is displayed or not. You may
  1825.         choose not to display the title information if you don't want
  1826.         users to know what program you are using. On the other hand, the
  1827.         registration information should be displayed for authenticity's
  1828.         sake. I have added this option because security comes before all
  1829.         else.
  1830.  
  1831.         (0=Not Displayed, 1=Displayed)
  1832.  
  1833.         Default: 1
  1834.  
  1835.  
  1836.         10.28 Date Format
  1837.  
  1838.         This will allow you to have dates displayed in different
  1839.         formats. Some people prefer different formats than others, so
  1840.         this will allow you to define the way dates are displayed.
  1841.  
  1842.         (0=MM/DD/YYYY, 1=DD/MM/YYYY)
  1843.  
  1844.         Default: 1
  1845.  
  1846.  
  1847.         10.29 Case Sensitivity
  1848.  
  1849.         This sets the case sensitivity. If "Case Insensitive" is
  1850.         selected, "SENTRY" "sentry" and "Sentry" are all treated as the
  1851.         same at the login prompt. If case sensitivity is enabled, the
  1852.         three are all treated as different logins.
  1853.  
  1854.         (0=Case Sensitive, 1=Case Insensitive)
  1855.  
  1856.         NOTE: Using "Case Insensitive" reduces the number of allowable
  1857.         logins, and increases the probability of an attacker getting a
  1858.         correct login. Still, some people find it easier to work with
  1859.         Case Sensitivity off.
  1860.  
  1861.         Default: 0
  1862.  
  1863.  
  1864.         10.30 Windowed Mode
  1865.  
  1866.         This allows you to use Sentry in a "windowed" mode (not to be
  1867.         confused with Microsoft Windows). If the windowed mode is
  1868.         undesirable, you can choose not to use it.
  1869.  
  1870.         (0=Regular Mode, 1=Normal Windowed Mode, 2=Exploding Windowed Mode)
  1871.  
  1872.         Default: 2
  1873.  
  1874.  
  1875.         10.31 Enable Colour
  1876.  
  1877.         This determines if colour will be displayed by Sentry or not.
  1878.         Some laptop users may wish to use the black and white setting
  1879.         for better readability.
  1880.  
  1881.         (0=Black and White, 1=Colour)
  1882.  
  1883.         Default: 1
  1884.  
  1885.  
  1886.         10.32 Text Colour
  1887.  
  1888.         You can set TextColour to the value of the colour you wish
  1889.         normal text to appear in. Colour values are shown in the chart
  1890.         below.
  1891.  
  1892.         COLOURS:
  1893.         0 Black 4 Red        8 Dark Gray    12 Light Red
  1894.         1 Blue  5 Magenta    9 Light Blue   13 Light Magenta
  1895.         2 Green 6 Brown      10 Light Green 14 Yellow
  1896.         3 Cyan  7 Light Gray 11 Light Cyan  15 White
  1897.  
  1898.         Default: 15
  1899.  
  1900.  
  1901.         10.33 Text Background
  1902.  
  1903.         You can set TextBackground to the value of the colour you wish
  1904.         normal text to have as a background. Colour values are shown in
  1905.         the chart below.
  1906.  
  1907.         COLOURS:
  1908.         0 Black 4 Red
  1909.         1 Blue  5 Magenta
  1910.         2 Green 6 Brown
  1911.         3 Cyan  7 Light Gray
  1912.  
  1913.         Default: 1
  1914.  
  1915.  
  1916.         10.34 Highlighted Text Colour
  1917.  
  1918.         You can set HighColour to the value of the colour you wish
  1919.         highlighted text to appear in. Colour values are shown in the
  1920.         chart below.
  1921.  
  1922.         COLOURS:
  1923.         0 Black 4 Red        8 Dark Gray    12 Light Red
  1924.         1 Blue  5 Magenta    9 Light Blue   13 Light Magenta
  1925.         2 Green 6 Brown      10 Light Green 14 Yellow
  1926.         3 Cyan  7 Light Gray 11 Light Cyan  15 White
  1927.  
  1928.         Default: 1
  1929.  
  1930.  
  1931.         10.35 Highlighted Text Background
  1932.  
  1933.         You can set HighBackground to the value of the colour you wish
  1934.         highlighted text to have as a background. Colour values are
  1935.         shown in the chart below.
  1936.  
  1937.         COLOURS:
  1938.         0 Black 4 Red
  1939.         1 Blue  5 Magenta
  1940.         2 Green 6 Brown
  1941.         3 Cyan  7 Light Gray
  1942.  
  1943.         Default: 7
  1944.  
  1945.  
  1946.         10.36 Maximum Invalid Logins
  1947.  
  1948.         This sets the Default number of consecutive invalid logins
  1949.         possible before an account is locked out. Only a SuperUser can
  1950.         subsequently unlock an account.
  1951.  
  1952.         Default: 10
  1953.  
  1954.  
  1955.         10.37 Type Ahead
  1956.  
  1957.         This allows you to determine if Sentry acknowledges characters
  1958.         typed before execution began. With this option enabled, the user
  1959.         can type their login and password before Sentry runs, and it
  1960.         will automatically be used. This is useful for saving time while
  1961.         logging in.
  1962.  
  1963.         (0=Ignore input, 1=Accept input)
  1964.  
  1965.         NOTE: Some System Administrators turn this option off because it
  1966.         can cause some users to get confused and log in incorrectly.
  1967.  
  1968.         Default: 1
  1969.  
  1970.  
  1971.         10.38 Clear Screen
  1972.  
  1973.         This setting determines if the screen is cleared before running
  1974.         Sentry. Some users prefer to turn this option on as the screen can
  1975.         look cluttered otherwise.
  1976.  
  1977.         (0=Don't clear screen, 1=Clear screen)
  1978.  
  1979.         Default: 0
  1980.  
  1981.  
  1982.         11.0 Technical Notes
  1983.         ====================
  1984.  
  1985.         11.1  Encoding Algorithm
  1986.  
  1987.         The encoding algorithm used is the standard UNIX Crypt()
  1988.         algorithm. It is a one-way encoding algorithm that incorporates
  1989.         the Data Encryption Standard (DES) and RSA technology. It is
  1990.         used on UNIX systems to secure passwords. (As a note, the
  1991.         encryption code is not included with the ShareWare version, so
  1992.         no amount of examining the code will reveal the algorithm).
  1993.  
  1994.         The users' passwords are never decoded. They are stored on disk
  1995.         and in memory in an encoded format. The entered passwords are
  1996.         encoded using the same algorithm and matched in an encoded form.
  1997.         This prevents disk or memory scans from revealing the password
  1998.         to prying eyes.
  1999.  
  2000.         I have begun running some tests on cracking the passwords, and I
  2001.         will include my results. So far, this is what I have found:
  2002.  
  2003.         Password Length          Maximum Time to Break
  2004.         ------------------------------------------------
  2005.         4                        22 days
  2006.         5                        1368 days or 3.75 years
  2007.         6                        232.4 years
  2008.         7                        14409 years
  2009.         8                        893357 years
  2010.  
  2011.         All times listed are approximated as using a Pentium 90MHz CPU
  2012.         and an alpha-numeric password.
  2013.  
  2014.         These figures may be adjusted as my testing becomes more
  2015.         accurate. The above figures also assume you know the length of
  2016.         the password, which cannot be determined by looking at the
  2017.         encrypted version. As a result, the search time may be much
  2018.         greater.
  2019.  
  2020.  
  2021.         11.2  SuperUser Access
  2022.  
  2023.         SuperUser access is also encoded in the password. I tried many
  2024.         different ways before finally settling on this. It is the most
  2025.         secure method. Actually, SuperUser access is stored on the
  2026.         password (which is then encoded), and then stored again on the
  2027.         encoded password. That looks like:
  2028.  
  2029.         password                      <-- Password as entered.
  2030.  
  2031.         super(password)               <-- Password with SuperUser stamp.
  2032.                                           * This is the stamp that is
  2033.                                           used to determine access.
  2034.  
  2035.         crypt(super(password))        <-- Encoded password with
  2036.                                           SuperUser stamp.
  2037.  
  2038.         super(crypt(super(password))) <-- SuperUser stamped encoded
  2039.                                           password with SuperUser stamp.
  2040.                                           * This is the stamp that is
  2041.                                           used to "see" who has
  2042.                                           SuperUser access.
  2043.  
  2044.         That way when you use the "View Users" command, you can see
  2045.         which ones are SuperUsers. However, since the non-encoded
  2046.         SuperUser stamp can be edited, it is only used for viewing. The
  2047.         encoded SuperUser stamp is used for access. If anyone attempts
  2048.         to alter the SuperUser stamp, a warning will be displayed in
  2049.         the log file each time that user logs in.
  2050.  
  2051.  
  2052.         11.3  Files
  2053.  
  2054.         The following files are included with this release of Sentry:
  2055.  
  2056.         Sentry.exe      This is the executable program.
  2057.         Install.exe     The installation program.
  2058.         File_id.diz     Short description file.
  2059.         History.txt     The complete revision history of Sentry.
  2060.         License.txt     The license agreement.
  2061.         Order.frm       The order form.
  2062.         Qstart.txt      Quickstart instructions.
  2063.         Readme.com      Displays this file.
  2064.         Readme.txt      This file.
  2065.         Sentry.ins      Descriptions of Initialization Settings.
  2066.         Sentry.hlp      Sentry's Help file.
  2067.         Sentry.grp      The Sentry Group file for Windows.
  2068.         Sentry.pif      The Sentry .pif file for Windows.
  2069.         Whatsnew.txt    A short description of modifications to the
  2070.                         latest version.
  2071.  
  2072.         If you do not have all of these files, Sentry may not work for
  2073.         you. You can pick up a complete copy of Sentry (and updates as
  2074.         they become available) at:
  2075.  
  2076.               http://dragon.acadiau.ca/~910318b/Sentry.html
  2077.  
  2078.  
  2079.         11.4  File_id.diz
  2080.  
  2081.         The actual contents of the file_id.diz file are shown below. If
  2082.         any modification has been made to the original file, please
  2083.         re-create it from the following section.
  2084.  
  2085.         NOTE: this is primarily for SysOps of BBS's. Single users can
  2086.         delete the file_id.diz if they wish. (However, please make sure
  2087.         that all files are present if you distribute the program.)
  2088.  
  2089.         -------------------CUT-----------------------
  2090.         (V4.7) Sentry - Security for DOS/Windows/95.
  2091.         Sentry is an extremely flexible program that
  2092.         allows you to secure your system, individual
  2093.         files,  Windows, Win 95 or any combination.
  2094.         It supports up to 100 users with normal and
  2095.         "SuperUser" access. Detailed log files help
  2096.         keep track of activity. Expiry dates and a
  2097.         mini message system help with user admin.
  2098.         http://dragon.acadiau.ca/~910318b/Sentry.html
  2099.         Mike Bobbitt [Mike.Bobbitt@AcadiaU.Ca]
  2100.         -------------------CUT-----------------------
  2101.  
  2102.  
  2103.         11.5  Time / Date
  2104.  
  2105.         NOTE: I have found one date which always seems to cause an
  2106.         error. 01/01/1997 translates to 01/15/1995 (1st day of the 15th
  2107.         month of 1995). This is obviously incorrect. I have determined
  2108.         it is a bug in Borland's date conversion routines. It is the
  2109.         ONLY date that causes problems, to my knowledge, all others
  2110.         translate fine. I advise against using 01/01/1997 for any expiry
  2111.         dates.
  2112.  
  2113.         This problem is still under investigation.
  2114.  
  2115.  
  2116.         11.6  Environment Variables
  2117.  
  2118.         When a user successfully logs in, a DOS environment variable is
  2119.         set to that user's login name. This can be a very useful feature
  2120.         as it allows custom programs to link with Sentry in a meaningful
  2121.         way.
  2122.  
  2123.         For example, if you are running Sentry from a batch file, you
  2124.         can check to see who logged in, and take appropriate action.
  2125.  
  2126.         Shown below is a short batch file which can be used for this
  2127.         type of function:
  2128.  
  2129.         -----------CUT-----------
  2130.         @echo off
  2131.         rem *** Run Sentry.
  2132.         c:\sentry\sentry
  2133.         rem *** Test to see who logged in.
  2134.         rem *** Use the user's login name for the line below.
  2135.         rem *** It must be UPPERCASE.
  2136.         if %user==MIKE goto mike
  2137.         if %user==DANNY goto dan
  2138.         rem *** Use a line like the one above for each user.
  2139.         goto end
  2140.         :mike
  2141.         rem *** Note that individual users have their own commands.
  2142.         echo SuperUser logged in.
  2143.         defrag c:
  2144.         rem *** Other commands here
  2145.         goto end
  2146.         :dan
  2147.         echo Dan logged in.
  2148.         goto end
  2149.         rem *** Add more users as you see fit
  2150.         :end
  2151.         rem *** Add the commands here that will be executed by
  2152.         rem *** everyone, regardless of their login.
  2153.         -----------CUT-----------
  2154.  
  2155.         NOTE: Batch files are not secure! No critical functions should
  2156.         be placed here unless it's absolutely necessary!
  2157.  
  2158.         An alternative (and more secure) method is to write a program in
  2159.         another language (like C) and compile it. Most programming
  2160.         languages allow you to read environment variables. This means
  2161.         that you can write your own custom extensions to Sentry, which
  2162.         will execute after a person logs in.
  2163.  
  2164.         Please also note that the usernames in the environment variables
  2165.         are all capital letters. (Sentry becomes SENTRY when it is set).
  2166.  
  2167.         ** NOTE: Although the environment variables are secure
  2168.         immediately after Sentry runs, they may not be secure after
  2169.         other programs have run. By this I mean that another program
  2170.         could alter the environment variables to make it LOOK like a
  2171.         different user logged in. As a result, try to do all your
  2172.         checking immediately after Sentry runs.
  2173.  
  2174.  
  2175.         11.7  Virus Scanners
  2176.  
  2177.         If you scan your system with a virus scanner such as Microsoft
  2178.         Anti-Virus, you may find that Sentry will show up quite often.
  2179.         The reason for this is that some virus scanners record
  2180.         statistics on executable files. When the next scan is performed,
  2181.         if the executable files do not match the statistics, the scanner
  2182.         panics. This can SOMETIMES be evidence of a virus on your
  2183.         system. Sentry modifies itself (in a manner similar to
  2184.         a virus) and so may be picked up on occasion, however please be
  2185.         aware that there is no threat from Sentry.
  2186.  
  2187.         SENTRY IS NOT A VIRUS!
  2188.  
  2189.         Every time you use Sentry, the executable is modified, and will
  2190.         cause your virus scanner to panic! Do not be alarmed, since this
  2191.         is normal operation for Sentry.
  2192.  
  2193.  
  2194.         11.8  File Deletion
  2195.  
  2196.         Many times, sensitive information can be obtained by recovering
  2197.         deleted files and examining their contents. This is a common
  2198.         practice, and takes little technical skill to achieve. An
  2199.         unauthorized user "undeleting" files can cause the System
  2200.         Administrator a lot of hassle if the information recovered is
  2201.         sensitive. Also, the user may be able to study the information
  2202.         and devise a plan of attack based on how the system operates.
  2203.  
  2204.         As such, when Sentry deletes a file, that file cannot be
  2205.         "undeleted" to recover any sensitive information. Sentry
  2206.         achieves this by routing all delete requests through a special
  2207.         function. This function essentially fills the target file with
  2208.         garbage (random characters) before deleting it. Once deleted,
  2209.         the target file may be "undeleted" however the only information
  2210.         available from the recovered file is the garbage, not actual
  2211.         data. As a result, an unauthorized user will not be able to
  2212.         recover anything more than random characters from Sentry's
  2213.         execution.
  2214.  
  2215.         Sentry uses this method of deletion on all files, regardless of
  2216.         their level of sensitivity. Please note however that deleting a
  2217.         file at the DOS prompt, or through any other program does not
  2218.         use this secure method.
  2219.  
  2220.  
  2221.         11.9  General
  2222.  
  2223.         Sentry is written in Borland C, with sections of C++. As of
  2224.         version 4.7, Sentry contains over 6800 lines of code.
  2225.         Portability between machines is not an issue, since Sentry has
  2226.         been designed and tested on standard MS-DOS machines.
  2227.  
  2228.         Sentry is verified compatible with Windows 3.x and Windows 95.
  2229.  
  2230.  
  2231.         12.0 Potential Threats To Security
  2232.         ==================================
  2233.  
  2234.         Never underestimate your users. And never be satisfied that your
  2235.         system is completely "air-tight". Users are incredibly apt at
  2236.         finding loopholes in security, and once found, these holes can
  2237.         be exploited. Because of this, I am listing below all of the
  2238.         security loopholes that I am aware of at this time.
  2239.  
  2240.  
  2241.         12.1 Account Information
  2242.  
  2243.         With the release of Sentry V3.0, account information has become
  2244.         much more secure. It is still POSSIBLE however that a user can
  2245.         find and dissect the account information. The probability of
  2246.         this is remote though, since the information is not easily
  2247.         edited or understood. Also, all of these methods require a
  2248.         working knowledge of how Sentry operates, and that is not
  2249.         commonly available. The best source for that information would
  2250.         be from this file, which is deliberately missing some key pieces
  2251.         of "technical" information.
  2252.  
  2253.         If a user did manage to decipher the account information, he may
  2254.         be able to do any of the following:
  2255.  
  2256.         - Add/Remove an expiry date (account or password)
  2257.               This is not a serious issue for passwords, as the user
  2258.               would still have to enter their old one before being
  2259.               notified that their password has expired. An attacker can
  2260.               NOT expire a password and then log in to that account.
  2261.  
  2262.         - Edit a username
  2263.               This would effectively lock out that user, unless they
  2264.               could guess their new user name.
  2265.  
  2266.         - Delete a user
  2267.               Users can be deleted, but not created.
  2268.  
  2269.         - Destroy a password
  2270.               Since passwords are encoded, there is no way to change a
  2271.               password to something usable. An edited password will lock
  2272.               that user out of their account, until the password is
  2273.               reset.
  2274.  
  2275.         - Change "last login" information
  2276.               Not critical, but could be used to cover an attackers
  2277.               tracks.
  2278.  
  2279.         - Change "number of invalid logins since last login" information
  2280.               Same as above.
  2281.  
  2282.         - Add/Remove restrictions on the max # of invalid login attempts
  2283.               Could allow a "brute force" technique to work on an
  2284.               account password if the restriction was lifted. Also, if
  2285.               an attacker set this restriction to 1 invalid login, that
  2286.               account would be disabled if a single failed login attempt
  2287.               was made. This would be very annoying to the SuperUser who
  2288.               would end up having to reset accounts fairly often.
  2289.  
  2290.         It is important to know however, that a renegade user can never
  2291.         grant himself SuperUser privileges, nor can he ever attempt to
  2292.         effectively modify a password. To perform any of these
  2293.         functions, he MUST be logged in as a SuperUser. In addition,
  2294.         NOBODY (not even SuperUsers) can view passwords.
  2295.         (They can never be decrypted, remember?)
  2296.  
  2297.         In essence:
  2298.         Sentry does it's part for security, but you must do yours as
  2299.         well...
  2300.                        GUARD YOUR SUPERUSER PASSWORDS!
  2301.  
  2302.  
  2303.         12.2 Hardware Loopholes
  2304.  
  2305.         Although it is unlikely that a user will do this, there is a
  2306.         potential security risk to Sentry. Fortunately, this method can
  2307.         only be implemented by highly technical users. If a user really
  2308.         wants to get into your system, he can disassemble it, and take
  2309.         the battery out of your BIOS. This will reset your BIOS to the
  2310.         standard setup, which does not include password protection. From
  2311.         there, the user can enter your BIOS, and change the boot
  2312.         sequence from C,A to A,C. This means that your computer will
  2313.         search for a boot disk before booting from your hard drive.
  2314.         Therefore, the user can get in if he has a pre-made boot disk.
  2315.  
  2316.         Like I said, it's unlikely, but possible. If you want to fix up
  2317.         this back door, you can re-wire your floppy disk drive so that
  2318.         it is never used on boot up. I do not have instructions for that
  2319.         at this time, however I am looking, and will include them in
  2320.         future.
  2321.  
  2322.         Along the same lines, a user could replace your hard drive (the
  2323.         one containing Sentry)  with another hard-drive. This way he
  2324.         could then boot up using the new hard drive, and never have to
  2325.         worry about Sentry. Also, if he kept your hard drive on the
  2326.         system (as drive D for example), he could still access your
  2327.         data. This kind of trickery is highly improbable, but not
  2328.         impossible.
  2329.  
  2330.         The above two methods take more technical skill than the average
  2331.         user possesses, and should not be considered a serious threat. I
  2332.         include them simply so you can be aware such things exist. If
  2333.         you are concerned about attacks of this nature, you should
  2334.         secure your system's case to the frame (IE: make it impossible
  2335.         to open the case with a screwdriver - install a locking
  2336.         mechanism or fuse the screws to the frame).
  2337.  
  2338.         It is critical to realize that it is EXTREMELY difficult to
  2339.         repel a determined and well-organized attack. Using Sentry does
  2340.         not guarantee your computer's safety. It does however greatly
  2341.         reduce the threat of a successful attack, and more importantly,
  2342.         it can alert you to potential threats before they become a
  2343.         serious problem. Your ability to defend is much greater once you
  2344.         know you are under attack. Sentry can keep you informed of
  2345.         suspicious actions on your PC, as well as being is a powerful
  2346.         tool in defeating most threats.
  2347.  
  2348.  
  2349.         13.0 Troubleshooting
  2350.         ====================
  2351.  
  2352.         13.1 Error messages
  2353.  
  2354.         Below are listed all possible error messages you can get while
  2355.         running Sentry. With each is a brief description of what it
  2356.         means, probable causes, and how to fix it.
  2357.  
  2358.         Please be aware that ALL of these errors cause Sentry to
  2359.         lock-up. This may be an inconvenience at times, but it is done
  2360.         for security reasons (that way an attacker can't "induce" an
  2361.         error and get into the system).
  2362.  
  2363.         13.1.1  Cannot locate environment.
  2364.  
  2365.         This indicates an error with your DOS environment. Make sure
  2366.         that you are using the regular environment, or that it is set up
  2367.         correctly.
  2368.  
  2369.  
  2370.         13.1.2  Environment overflow - not modified.
  2371.  
  2372.         There was an error trying to set modify the DOS environment. It
  2373.         may occur if you try to run Sentry from within the Sentry DOS
  2374.         shell (IE: running Sentry from Windows, then when you're in the
  2375.         shell, running it again). If this error occurs, you are
  2376.         generally using too many environment variables for the amount of
  2377.         space you have allotted. See your DOS manual for ways of
  2378.         increasing environment space.
  2379.  
  2380.  
  2381.         13.1.3  Error Creating Backup Log File!
  2382.  
  2383.         There is a problem with the backup log file. Make sure that the
  2384.         file pointed to by the initialization settings is not
  2385.         write-protected, hidden or a system file.
  2386.  
  2387.  
  2388.         13.1.4  Error Creating Log file!
  2389.  
  2390.         The file that logs all transactions to your computer cannot be
  2391.         created. Make sure you have specified a valid pathname for this
  2392.         setting, and make sure you have about 80k of free space on your
  2393.         drive. If a log file already exists, it will be appended to.
  2394.         Otherwise it will be created.
  2395.  
  2396.  
  2397.         13.1.5  Error Creating Temp file!
  2398.  
  2399.         Sentry cannot create a temporary file. Make sure you have at
  2400.         least 80k available on the hard drive that contains Sentry
  2401.         before running it.
  2402.  
  2403.  
  2404.         13.1.6  Error Opening Log File!
  2405.  
  2406.         There is a problem with the log file. Make sure that the log
  2407.         file pointed to by the initialization settings is not
  2408.         write-protected, hidden or a system file.
  2409.  
  2410.  
  2411.         13.1.7 Error Opening Message File!
  2412.  
  2413.         This error indicates that the message file cannot be opened.
  2414.         Ensure that your initialization setting for the message file is
  2415.         correct, and that the file is not read-only, hidden, or a system
  2416.         file.
  2417.  
  2418.  
  2419.         13.1.8 Error Opening Protected File!
  2420.  
  2421.         This error may occur when protecting a file from the SuperUser
  2422.         menu. Make sure the file you indicate to protect is readable.
  2423.  
  2424.  
  2425.         13.1.9 Error Opening Sentry.ins!
  2426.  
  2427.         This error occurs when Sentry cannot find the file containing
  2428.         the descriptions for the initialization settings. Make sure that
  2429.         the file Sentry.ins is in the same directory as the Sentry.exe
  2430.         file.
  2431.  
  2432.  
  2433.         13.1.10 Error Opening System Files!
  2434.  
  2435.         This is an error during installation. If this error occurs, make
  2436.         sure that your AUTOEXEC.BAT, CONFIG.SYS and MSDOS.SYS (Win 95
  2437.         users only) files are readable, if they exist.
  2438.  
  2439.  
  2440.         13.1.11  Error Opening Temp File!
  2441.  
  2442.         A temporary storage file cannot be opened. Make sure you have at
  2443.         around 80k of disk space left when you run Sentry.
  2444.  
  2445.  
  2446.         13.1.12  Error Reading Data Segment! [Open]
  2447.  
  2448.         This occurs when the initialization settings or account
  2449.         information is not acting as expected. Make sure that you have
  2450.         about 80k of disk space free, and that your Sentry.exe file is
  2451.         not read-only.
  2452.  
  2453.  
  2454.         13.1.13  Please Run the INSTALL.EXE Program.
  2455.  
  2456.         This usually indicates that there are no initialization
  2457.         settings. The easiest way to remedy this is to re-install Sentry
  2458.         (see section 2 for details). That will create initialization
  2459.         settings, or over-write the old settings if they are invalid.
  2460.  
  2461.  
  2462.         13.1.14  Error Scanning Temp File!
  2463.  
  2464.         This error should never occur. If it does, please contact me
  2465.         with details of the scenario.
  2466.  
  2467.  
  2468.         13.1.15  Error in Account Information!
  2469.  
  2470.         This means there is a problem with the account information for a
  2471.         certain user. You can either try restoring your sentry.exe file
  2472.         from backup, or you can re-install it (see section 2 for
  2473.         details). If you continue to use corrupt account information,
  2474.         you will find you are locked out quite frequently. It should be
  2475.         a top priority to fix the account info.
  2476.  
  2477.  
  2478.         13.1.16  Error in Initialization Settings!
  2479.  
  2480.         Your initialization settings are corrupt or could not be read.
  2481.         The best bet here is to re-install Sentry from scratch, and
  2482.         over-write the current settings. If you find this occurring
  2483.         frequently, it is probably a bug of some sort, and I should be
  2484.         contacted.
  2485.  
  2486.  
  2487.         13.1.17 Internal Screen Error. [Reading]
  2488.  
  2489.         This error should never occur. Having said that, if it does,
  2490.         your best bet is to check your video mode. Sentry has only been
  2491.         tested in 80x25 text mode, so make sure that is what you are
  2492.         using. If this error crops up, please contact me with the
  2493.         details.
  2494.  
  2495.  
  2496.         13.1.18 Internal Screen Error. [Writing]
  2497.  
  2498.         See above.
  2499.  
  2500.  
  2501.         13.1.19 Out of memory!
  2502.  
  2503.         When this error appears, it means that for some reason, Sentry
  2504.         didn't have enough memory to run. This is extremely rare, since
  2505.         Sentry requires very little memory. If this error occurs, try
  2506.         freeing up some memory by unloading some un-needed programs, or
  2507.         rebooting.
  2508.  
  2509.  
  2510.         13.1.20 Registration Error - Program Aborted!
  2511.  
  2512.         Someone (probably you) has tried unsuccessfully to change the
  2513.         registration information. Very naughty, but if you want to fix
  2514.         it, simply restore Sentry.exe from your backup copy. (Again, a
  2515.         good reason to keep a backup somewhere!)
  2516.  
  2517.  
  2518.         13.1.21 This account has expired.
  2519.  
  2520.         Sorry, you're out of luck. The SuperUser(s) have set your
  2521.         account to expire, and so it has. If you ARE the SuperUser,
  2522.         silly you (you shouldn't let your own account expire!). In that
  2523.         case, you will have to restore the Sentry.exe from a backup,
  2524.         and make the necessary changes to get your system running.
  2525.  
  2526.  
  2527.         13.1.22 Cannot Find LICENSE.TXT!
  2528.  
  2529.         The file LICENSE.TXT was not found by the install program. This
  2530.         file must be present for the install to proceed correctly. If
  2531.         you are missing this file, check section 11.3 for information on
  2532.         where to obtain it.
  2533.  
  2534.  
  2535.         13.2 Other problems
  2536.  
  2537.         When I run Sentry, is displays a warning saying I have
  2538.         newer/older initialization settings.
  2539.  
  2540.         A: You should probably get the latest version of Sentry (see
  2541.         section 11.3 for info on obtaining the latest version). Replace
  2542.         all your current files with the files you retrieve. This warning
  2543.         may not be a problem in itself, however it is not a good idea to
  2544.         use initialization settings from a different version.
  2545.  
  2546.  
  2547.         I get a warning about users being tampered with in the log file.
  2548.  
  2549.         A: Someone has been tampering with your users (obviously). They
  2550.         thought they could change the SuperUser access on your system,
  2551.         but really couldn't. The only side effect of this is that some
  2552.         users may appear to have SuperUser access when they don't (and
  2553.         vice-versa) when you view them from the SuperUser menu. The
  2554.         users' actual access has not changed. To remedy this situation,
  2555.         you can get the user to enter another password (this can easily
  2556.         be done by expiring their current password). As soon as the new
  2557.         password is entered, the problem will disappear.
  2558.  
  2559.  
  2560.         I can't log in at all.
  2561.  
  2562.         A: Are you a user on the system? Are your initialization
  2563.         settings set up correctly? Have you run the install program?
  2564.  
  2565.  
  2566.         I can't log in as a SuperUser.
  2567.  
  2568.         A: Did you give yourself SuperUser access? Are you remembering
  2569.         to hold down CTRL when you hit enter?
  2570.  
  2571.  
  2572.         My account information is corrupt or deleted.
  2573.  
  2574.         A: Pray you kept a backup somewhere. At the very least, you
  2575.         should have the install program sent with Sentry. In that case,
  2576.         re-install, and log in as Sentry. Since Sentry is initially a
  2577.         SuperUser, you can re-create your users (don't forget to delete
  2578.         the Sentry user when you are finished!).
  2579.  
  2580.  
  2581.         I can't create a c:\Sentry directory on my drive.
  2582.  
  2583.         A: If you are using MS-DOS's UNDELETE program, it may create a
  2584.         directory called "Sentry" off of your root directory. This
  2585.         directory is hidden, and can only be seen with the "dir /a"
  2586.         command. (This only occurs if you are using the "delete sentry"
  2587.         mode). Possible fixes are to stop using "delete sentry" mode, or
  2588.         to create your Sentry directory as something else (eg:
  2589.         c:\Sentry2, c:\Secur\Sentry, etc etc).
  2590.  
  2591.  
  2592.         14.0 Standard Disclaimer
  2593.         ========================
  2594.  
  2595.         Inexperienced users should take care with this program, as you
  2596.         may lock yourself out of your computer!
  2597.  
  2598.         If you feel you want to use it, but don't feel completely
  2599.         confident, leave a "back door" for you to use. (IE: don't
  2600.         implement all of the security measures listed in "Securing Your
  2601.         Computer"), so that if you DO get locked out, you can still get
  2602.         in somehow. Once you are satisfied that all is well, lock up the
  2603.         back door too.
  2604.  
  2605.         Please read the document "LICENSE.TXT" included with this
  2606.         software for the entire licensing agreement.
  2607.  
  2608.  
  2609.         15.0 Contact Information
  2610.         ========================
  2611.  
  2612.         I would greatly appreciate any comments you might have about
  2613.         this program (either positive or negative). If you encounter any
  2614.         problems, or have a suggestion for making Sentry better, please
  2615.         let me know, and I'll try to put it in a future release. I look
  2616.         forward to hearing from you.
  2617.  
  2618.         You can contact me via e-mail at Mike.Bobbitt@AcadiaU.Ca and I
  2619.         will reply as quickly as I can. If you do not have internet
  2620.         access, you can contact me via surface mail at:
  2621.  
  2622.         NightShade Computing
  2623.         P.O. Box 1336
  2624.         Wolfville, Nova Scotia
  2625.         B0P 1X0
  2626.         CANADA
  2627.  
  2628.  
  2629.         16.0 Credits
  2630.         ============
  2631.  
  2632.         My thanks go out to these people:
  2633.  
  2634.         Mark Saarinen for the password encryption algorithm.
  2635.  
  2636.         Richard Brittain for use of his DOS environment variable code.
  2637.  
  2638.         D.J. Houghton and Rob Coombs for testing and advising during the
  2639.         design phase.
  2640.  
  2641.         Dexter J. Caldwell for suggestions on various options, as well
  2642.         as the "template" methodology  for protected files.
  2643.  
  2644.         L.D. Best for suggestions, comments and bug reports, as well as
  2645.         detailed explanations of test situations. L.D. has provided
  2646.         many good ideas and useful comments with respect to Sentry, and
  2647.         has assisted greatly in "fine tuning" many features such as file
  2648.         protection.
  2649.  
  2650.         Bret Jacobsen for finding some serious errors in the first
  2651.         release, as well as continually making suggestions for
  2652.         improvement. Bret has given invaluable assistance in the
  2653.         development of Sentry.
  2654.  
  2655.  
  2656.         ...And my wife for listening to me talk incessantly about it.
  2657.